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