If you’re going to build a multi-step CSS animation or transition, you have a particular conundrum. The second step needs a delay that is equal to the duration of the first step. And the third step is equal to the duration of the first two steps, plus any delay in between. It gets more and more complicated until you might just be like, nahhhhh I’ll use more technology to help me.
Paul Hebert:
Lately I’ve been using custom properties to plan out pure CSS timelines for complex animations.
Cool. And it can get completely nuts.
Direct Link to Article — Permalink
The post CSS Animation Timelines: Building a Rube Goldberg Machine appeared first on CSS-Tricks.
from CSS-Tricks https://ift.tt/3b5g78Z
via IFTTT
No comments:
Post a Comment