fix loading css build error
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -51,11 +51,11 @@ | @@ -51,11 +51,11 @@ | ||
51 | > div { | 51 | > div { |
52 | $init: 0.12s; | 52 | $init: 0.12s; |
53 | 53 | ||
54 | - @for $i from 1 to 3 { | ||
55 | - &:nth-child($i) { | 54 | + @for $i from 1 through 3 { |
55 | + &:nth-child(#{$i}) { | ||
56 | animation: loadingScale 0.75s $init infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); | 56 | animation: loadingScale 0.75s $init infinite cubic-bezier(0.2, 0.68, 0.18, 1.08); |
57 | } | 57 | } |
58 | - $init: calc(($i + 1) * 0.12); | 58 | + $init: calc((#{$i} + 1) * 0.12); |
59 | } | 59 | } |
60 | 60 | ||
61 | display: inline-block; | 61 | display: inline-block; |
-
Please register or login to post a comment