📜  sass 示例 html - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:33.198000             🧑  作者: Mango

代码示例2
/*
SASS default file *.scss must be converted to *.css to use in html

Installation: 
npm install -g sass
*/

    

/* create new file styles.scss and fill */
$myColor: red;

body {
  color: $myColor;
}
/*
in terminal run: sass --watch styles.scss styles.css

info from https://sass-lang.com/install
*/