【发布时间】:2014-03-10 13:50:34
【问题描述】:
是否可以在 Stylus 中实现类似的功能?
for $i in 1..5 and $n in a b c d e
.icon-{$i}:before{
content: $n
}
【问题讨论】:
-
你可能想看看 mixins learnboost.github.io/stylus/docs/iteration.html
-
你有没有想过你刚才问的问题?你有没有尝试过自己解决?!
标签: stylus