Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS SASS @for Problems Reply To: SASS @for Problems

#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 calcbut 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.