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


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});

That said… a base value of .012s is really quick so I went with 0.4s instead.