Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Animate.css: Plug and Play CSS Animations

DZone's Guide to

Animate.css: Plug and Play CSS Animations

· Web Dev Zone
Free Resource

Get deep insight into Node.js applications with real-time metrics, CPU profiling, and heap snapshots with N|Solid from NodeSource. Learn more.

Who needs Flash for simple web animations these days?  In fact, who needs jQuery?  Animate.css is a recently unveiled bundle of CSS animations that you can use just by adding the class to the element, or by calling the in your CSS file. Classes and the animations have the same name.  Dan Eden, the author, explains why you might use these over jQuery:

CSS animations are pretty frickin' awesome - they use hardware acceleration natively, unlike JavaScript-powered animations. Use something like Modernizr to detect support for CSS3 animations, then use jQuery or another library to provide fallback animations for the browsers that don't support them. It's a win-win situation.  -- Dan Eden



The animations are supported in Chrome, Safari, Opera, and Firefox (and soon IE10). Dan suggests you use Modernizr to detect CSS3 animations support and then trigger jQuery for the fall backs.

Check out the Animate.css page to see it in action!

Node.js application metrics sent directly to any statsd-compliant system. Get N|Solid

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}