html - 如何从 VScode 上的 css 文件中的 html 文件获取 css 类建议?
问题描述
假设我有一个这样的 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 类的建议
您可以考虑vscode 上的 css intelliSense。如果我们在我的 html 文件上编写 css 类属性,我们会得到在 css 文件中编写的类的建议。我想要这样的东西,但我想在我的类的css 文件中得到建议,这些文件是用 html 文件编写的。
//style.css
那可能吗?
解决方案
推荐阅读
- google-apps-script - 当单元格具有作为具有两个对象的列表框的数据验证规则时,如何从脚本更新单元格?
- simulation - 如何正确地将 torsional_spring 元素添加到 Drake 中的 RigidBodyTree
- sql - 当今天的数据不存在时,自动分配前一天的值
- php - PHP函数对CSS样式列表进行排序并将它们分组排列
- visual-studio-2017 - Visual Studio 2017 的属性中缺少构建类别
- c# - 连接到刚体时获取统一对撞机的游戏对象
- ecmascript-6 - “SyntaxError: Unexpected token export” 使用 Jest 和 babel 7+
- ruby - 没有将字符串隐式转换为整数,简单的 ruby 函数不起作用
- authentication - .NET Core 2.2 JWT 令牌授权失败未返回 HTTP 401
- html - 如何使用 CSS 网格对齐嵌套 HTML 中的列