【发布时间】:2021-07-06 03:53:32
【问题描述】:
假设我有一个这样的 html 文件:
//index.html
<div class="home__data">
<h1 class="home__title">Hi, I'am Alexa</h1>
<h3 class="home__subtitle">Frontend Developer</h3>
<p class="home__description">High level experience in web design, knowledge and producing quality work.</p>
<a href="#" class="button button--flex">
Contact Me <i class="uil uil-message button__icon"></i>
</a>
</div>
现在我想在我的 css 中获得这个 index.html 文件的 css 类 的建议VSCODE
上的文件您可以考虑 vscode 上的 css intelliSense。如果我们在我的 html 文件上编写 css 类属性,我们会得到在 css 文件中编写的类的建议。我想要这样的东西,但我想在我的 css 文件 中获得用 html 文件编写的类的建议。
//style.css
这可能吗?
【问题讨论】:
-
您能否更准确地解释您的问题
-
我已编辑 .我想你现在就会明白这个问题了。
-
可能对你有帮助:marketplace.visualstudio.com/…
-
我已经用过了。它给出了关于 html 文件的建议。但我想在我的 css 文件上提出类的建议,比如那个扩展名。
标签: html css visual-studio-code