Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>root-cssVar-helperNew to Visual Studio Code? Get it now.
root-cssVar-helper

root-cssVar-helper

WJiaang

|
150 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

root-cssvar-helper README

提示补全css-:root标签下的全局variables,替换为var(variables名)使用; 
内部使用

功能

自动补全CSS Variable

配置

调起的vscode的设置,搜索:root path,修改需要的变量:root的路径

图片 注意: 默认读取项目目录,不需要自行增加,例如,"/src/theme/theme.css"。

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft