📅  最后修改于: 2022-03-11 14:47:27.932000             🧑  作者: Mango
代码示例2
$base-color: #036;
@for $i from 1 through 3 {
ul:nth-child(3n + #{$i}) {
background-color: lighten($base-color, $i * 5%);
}
}