sass动画循环引入图片
@keyframes move { @for $i from 0 through 79 { #{($i * 100%/79)} { // background-image: url(./img/#{$i}.png); @if ($i < 10) { background-image: url(https://lishiots.oss-cn-hangzhou.aliyuncs.com/webstatic/wangmangling/pc/animation/wanggif_0000#{$i}.png); } @else { background-image: url(https://lishiots.oss-cn-hangzhou.aliyuncs.com/webstatic/wangmangling/pc/animation/wanggif_000#{$i}.png); } } } }