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

#236383
TheDoc
Member

Instead of using calc() and making the browser do a little bit of extra work I’d rather just interpolate the whole thing:

transition-delay: #{$delay * $i};

Which will give you:

transition-delay: 0.04s;