$width:200px;
$height:height;
body {
width: $width;
${$$height}: 300px;
}
$height:height;
body {
width: $width;
${$$height}: 300px;
}
2018-06-22
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