Warning: Attempt to read property "ID" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 471

Warning: Attempt to read property "display_name" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 480

Warning: Attempt to read property "display_name" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 487

Warning: Attempt to read property "description" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 489

Warning: Attempt to read property "ID" on bool in /www/wwwroot/129.28.78.18/wp-content/themes/storeys-pro/wbc/components/og_schema/wb_og_schema.php on line 493

8-24 钟申义 日志

8-24 钟申义 日志

Sass

scss文件转换成css文件
node-sass scss文件路径 css文件路径
node-sass scss文件夹 -o css文件夹
node-sass -w scss文件路径 css文件路径

嵌套

结构嵌套 群组嵌套 属性嵌套

导入

局部scss文件 全局scss文件 导入的语法

混合器

定义混合器 调用混合器 带参数的混合器 调用带参数的混合器、

继承 运算

函数

数学函数 字符串函数 自定义函数

指令:if-else 指令:for 指令:each

心得

今天学了sass的基本应用 感觉需要多练习才能熟练一些。掌握的不是很闹靠。

评论留言