Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS jQuery Basics (2014) Introduction to jQuery What is jQuery?

Chris Kwong
Chris Kwong
10,266 Points

What's are the advantages of animating using jquery and using css transitions/animations?

In the css animation module in the css fundamentals, we do something really similar. Can't we achieve the same thing by just using css animations?

3 Answers

Here's a great place to check browser compatibility / support of front-end web technologies:

http://caniuse.com/

Hugo Paz
Hugo Paz
15,622 Points

Hi Chris,

I found this to be a good read on the subject.

Oziel Perez
Oziel Perez
61,321 Points

I'm sure this is kind of a late reply to an old question, but I will point out that, at the time of this comment, it would be better to use jQuery animations over CSS3 animations due to the fact that not all browsers support them (particularly IE6 and 7). To maintain compatibility, it's a good idea to use jquery, which is javascript in essence, since those browsers can understand javascript. Eventually CSS3 will become standardized across every browser and so we will be able to use it more freely. Even then though, there's still the matter of certain event handlers (like clicking, page loading, etc.) that CSS can't handle. So to summarize and really answer your question, yes CSS3 can do some of the things jquery can do as far as animations go, but for more control, go with jquery.