有沒有一種情況,比如@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