$box-width: 200px;
$box-height: 300px;
body {
width: $box-width;
height: $box-height;
}
$box-height: 300px;
body {
width: $box-width;
height: $box-height;
}
2017-10-22
有没有一种情况,比如@mixin box-shadow($shadows...)中的参数还需要加一个如$width的参数呢
2017-10-14
@for $i from 1 through length($width){
.box-#{nth($width,$i)}{
width:100px-10px * $i ;
}
}
.box-#{nth($width,$i)}{
width:100px-10px * $i ;
}
}
2017-10-07
嵌套输出方式 nested
展开输出方式 expanded
紧凑输出方式 compact
压缩输出方式 compressed
展开输出方式 expanded
紧凑输出方式 compact
压缩输出方式 compressed
2017-10-07