4 ms·
There are no libraries that solve that in a generic easy-usable way. Because animations shift layout
by illiarian 3y ago
There are no libraries that solve that in a generic easy-usable way. Because animations shift layout
- DaiPlusPlus 3y agoCSS has lots of non-layout-shifting animation techniques - obviously there’s stuff like only changing colours, images, backgrounds, and effects like box-shadow, but things like animating the transform: property are also “layout safe” and very high performance because they’re applied after layout: https://web.dev/animations-guide/ https://web.dev/animations-guide/