vendor/leafo/scssphp/tests/inputs/looping.scss
(完整代码) 584B
div {
@each $var in what is this {
color: $var;
}
@each $var in what, is, this {
font: $var;
}
$list: what is this;
@each $var in $list {
background: $var;
}
$list: what, is, this;
@each $var in $list {
border: $var;
}
}
span {
$i: 0;
@while $i <= 10 {
color: $i;
$i: $i + 1;
}
}
pre {
@for $x from 1 to 5 {
color: $x;
}
@for $x from 1 through 5 {
height: $x;
}
$y: 10;
@for $x from $y through 3 {
cool: $x;
}
}
$j: null;
@while $j {
.item { width: 2em; }
$j: false;
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
