Home › Forums › CSS › SASS @for Problems › Reply To: SASS @for Problems
January 3, 2016 at 1:46 pm
#236371
Paulie_D
Member
If you view the compiled CSS you can see the problem
transition-delay: 0.012s * 2;
Which is clearly not valid…so, we need to use calc
…but we need to interpolate as well.
SCSS: transition-delay: calc(#{$delay} * #{$i});
http://codepen.io/Paulie-D/pen/bEgLBa
That said… a base value of .012s is really quick so I went with 0.4s instead.