繁体   English   中英

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

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

假设我有一个这样的 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>

现在我想在VSCODE上的 css 文件中获得此index.html文件的css class 的建议

您可以在vscode 上考虑 css intelliSense。如果我们在我的 html 文件上写入 css class 属性,我们会得到写入 css 文件的 class 的建议。 我想要这样的东西,但我想在我的 class 的css 文件中获得建议,这些建议写在 html 文件中。

//style.css

那可能吗?

暂无
暂无

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

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