使用sass和less

2022-02-10  本文已影响0人  路尔轩
sass和less对比 sass less
变量声明 $xxx: #F00; @xxx: #F00;
变量引用 background: $xxx; background: @xxx;
嵌套 #content {
article {
h1 { color: #333 }
p { margin-bottom: 1.4em }
}
aside { background-color: #EEE }
}
上一篇 下一篇

猜你喜欢

热点阅读