scss使用@each 和for的index来生成对应class名问题

  当前有六个li。。我要通过:nth-child(n)来获取每个li,在@each和@for里面要连接一个字符串只能用 string#{$i},而不能使用string+#{$i}

posted @ 2017-09-21 12:37  于啊  阅读(1500)  评论(0编辑  收藏  举报