sass 中使用for 循环以及随机数

@for $i from 1 through 18
{
    .dot-posi#{$i}
    {
       animation:change 2s ease-in-out (random(5) + 1) + s infinite alternate;
    }
}

posted on 2020-11-05 10:39  myYouth  阅读(840)  评论(0编辑  收藏  举报

导航