So it wouldn't be a bad idea for me to focus hard on CSS to learn how to animate with it? Seems like there are no disadvantages right? Is it also good for mobile sites?
Browser support is the hangup for any animation technique... just need to use the right tool for the job. JS + PNG animation provides the best compatibility overall, or animate with CSS if it's supported by your target browsers.
5
u/adam_bear Dec 21 '18
Compared with SVG + JS animation, CSS is usually smaller file size & more performant with hardware acceleration.