在codepen写demo时候能用
@each $height in 10,20,30,40,50,100,200{ height#{$height}{ height:$height; } } @each $borderColor in red,blue,yellow,orange,black{ border-#{$borderColor}{ border:1px solid $borderColor; } }