Combining CSS animations

 Combining animations into one keyframe makes the animations perform better.


I had an animation using 'scale3d' on a parent element and an animation using 'rotate3d' on a child. The performance was bad but improved when I put the parent's 'scale3d' in the child's keyframe.




Comments

Popular posts from this blog

How a CSS fish animation works

Giving PWA icons transparent backgrounds

Simple animation spacing out letters in an centred phrase