@each 输出 格式: @each $var in value,value1,value2{ } eg: @each $var1 in 100px,200px,300px{ .box{ width:$var1; } } //结果 .box{ width:100px; } .box{ width:200px; } .box{ width:300px; } 当然,@each的变量还可以写多个,不过要和后面的内容向对应. @each $a,$b,$c in ((ab,es,cdd),(cd,da,a…