When their values don’t change throughout the animation, CSS width / height animations can run on the Compositor, instead of being forced to run on the Main Thread.
A rather geeky/technical weblog, est. 2001, by Bramus
width or height no longer forces a Main Thread animation (in Chrome, under the right conditions)@starting-style
I built something that I needed into DevTools: debugging support for CSS @starting-style rules.
--light-dark() function in CSS that works with any type of value (not just colors!) in just 3 LOC