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:
Code snippet from my second pen:
transition-delay: 0.012s * 2;