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

#236372
koenigsegg1
Participant

Thanks! I never thought of using calc(). In my original pen, I did almost the same calculations without using the calc() function. could you explain why that worked and the second pen didn’t?

Code snippet from my original pen:

transition-delay: $delay*2;

Code snippet from my second pen:

transition-delay: 0.012s * 2;