$width:200px;
$height:height;
body {
width: $width;
${$$height}: 300px;
}
$height:height;
body {
width: $width;
${$$height}: 300px;
}
2018-06-22
我在瀏覽器中直接更改Sass文件,不能相應(yīng)的更改css文件,同時點(diǎn)擊保存還會出現(xiàn)黃色感嘆號
2018-06-13
數(shù)值,字符串,顏色,布爾值,空值null,列表,映射(也叫字典,對象),函數(shù)function。老師這里少了兩個
2018-05-17
numbers (e.g. 1.2, 13, 10px)
strings of text, with and without quotes (e.g. "foo", 'bar', baz)
colors (e.g. blue, #04a3f9, rgba(255, 0, 0, 0.5))
booleans (e.g. true, false)
nulls (e.g. null)
lists of values, separated by spaces or commas
maps from one value to another
function references
strings of text, with and without quotes (e.g. "foo", 'bar', baz)
colors (e.g. blue, #04a3f9, rgba(255, 0, 0, 0.5))
booleans (e.g. true, false)
nulls (e.g. null)
lists of values, separated by spaces or commas
maps from one value to another
function references
2018-05-17
有個問題:%mt5{margin-top:5px;}
%pt5{padding-top:5px;}
.btn{
@extend %mt5;
@extend %pt5;
}
最終編譯不會合在一起的:CSS
.btn{margin-top:5px;}
.btn{padding-top:5px;}
這就很不爽了?。?!
%pt5{padding-top:5px;}
.btn{
@extend %mt5;
@extend %pt5;
}
最終編譯不會合在一起的:CSS
.btn{margin-top:5px;}
.btn{padding-top:5px;}
這就很不爽了?。?!
2018-05-17