Use CSS transitions instead of JavaScript animations

CSS3 transitions are increasingly being hardware accelerated, e.g. on the iPad. They perform much better than incrementally modifying CSS properties step-by-step over time in JavaScript (as with jQuery.animate).

CSS transitions:

JavaScript fallback, for non-conformant browsers: