Animate using jquery or css?

Hi all
I want to do some basic animation. Should I use jquery or css? Whats the pros/cons of each?
Thanks

Hi there bolton,

always use CSS for animations wherever possible
and only use javascript if it is absolutely necessary. :winky:

coothead

3 Likes

Thanks. For anyone else interested, this is a useful article: https://developers.google.com/web/fundamentals/design-and-ux/animations/css-vs-javascript

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.