简体   繁体   English

我怎样才能从 html 文件中的 css 文件中获得 css class 建议?

[英]how can i get css class suggestion from a html file in my css file on VScode?

suppose i have a html file like this:假设我有一个这样的 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>

now i want to get suggestion of the css class of this index.html file in my css file on VSCODE现在我想在VSCODE上的 css 文件中获得此index.html文件的css class 的建议

you can think about css intelliSense on vscode .if we write css class attribute on my html file we get suggestion of class that are written in css file.您可以在vscode 上考虑 css intelliSense。如果我们在我的 html 文件上写入 css class 属性,我们会得到写入 css 文件的 class 的建议。 I want something like this but i want get suggestion in my css file of class that are written in html file.我想要这样的东西,但我想在我的 class 的css 文件中获得建议,这些建议写在 html 文件中。

//style.css

Is that possible?那可能吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM