@for $i from 1 through 5 {
li {
&:nth-child(#{$i}) {
.bgImg {
background-image: url(../images/index/index-icon#{$i}.png);
}
}
}
}
@for $i from 1 through 5 {
li {
&:nth-child(#{$i}) {
.bgImg {
background-image: url(../images/index/index-icon#{$i}.png);
}
}
}
}