Here's a wonderful talk by @amit_sheen on animations and keyframes and what not.
It inspired me to create the illustrations that you see on web.dev/css-individual-trans…
Working with keyframes can be difficult, especially when you have several objects, animations, durations, and timing functions, you need to synchronize. @amit_sheen showed us how to solve this, and get creative.
Full talk: youtube.com/watch?v=kXh3EMpa…
Slides: amitsh.com/2022/cssday/getti…
1
3
21
Having chosen `@ keyframes` as a way to have real-life explanation is probably the best choice. 👍
“some of the data structures that Chrome creates in advance when you use will-change are different for transform versus rotate.”
Surprising. Do you have any detail about this? 👀
1
The nodes for 'rotate' and for 'transform' are separate so that they can be animated independently.
There is various work that happens when these nodes are created or destroyed. (There are perhaps some cases where some of it could be optimized away...)
Aug 19, 2022 · 12:52 PM UTC
1


