$zips:zip(solid dashed dotted,1px 2px 3px,green blue red);
.test-zip {
content:length($zips);
}
@for $i from 1 to (length($zips)+1){
.test-#{$i}{
border:nth($zips,$i);
}
}
.test-zip {
content:length($zips);
}
@for $i from 1 to (length($zips)+1){
.test-#{$i}{
border:nth($zips,$i);
}
}
2016-08-30
$str:blue,green,#fff,#000;
$ss:append((blue, green),red,comma);
$ff:append($str,#f00,space);
.test-app {
content:length($ff),$ss;
}
$ss:append((blue, green),red,comma);
$ff:append($str,#f00,space);
.test-app {
content:length($ff),$ss;
}
2016-08-30
$joins: join(blue,(red orange),space);
$nth:$joins;
.test-join {
content:length($joins);
}
@for $i from 1 through (length($nth)) {
.test-#{$i}{
color: nth($nth,$i);
}
}
$nth:$joins;
.test-join {
content:length($joins);
}
@for $i from 1 through (length($nth)) {
.test-#{$i}{
color: nth($nth,$i);
}
}
2016-08-30
$social-network:"dribble","facebook","github","google","twitter";
应该提前有这样一个list的定义吧
应该提前有这样一个list的定义吧
2016-08-24