Fork me on GitHub

scss for

1
2
3
4
5
@for $i from 1 through 10 { 
.item:nth-child(#{$i}) .title:after {
background-image: url(../images/rank_index_#{$i}.png);
}
}
-------------感谢您的阅读 有问题请留言(或mailto:frostbelt@sina.cn)-------------