Rotating Feature Boxes

Rotating Feature Boxes

All the animation is CSS3 transitions. JavaScript only watches for the clicks and applies and removes classes as needed. Why not use JavaScript for the animations as well and get wider browser support? CSS3 is far better suited for this. The animations are better (hardware accelerated). It doesn't slow down other JavaScript. It is also easier to write keeping the animations in CSS. With JavaScript we aren't able to animate to classes easily.

As more time passes, more and more animations will be relegated to CSS and away from JavaScript libraries.
The full effect of it (with transition animations) will work in newish WebKit and Opera browsers and Firefox 4. Any other browser will rotate the blocks without transition animation.

Comments

Be the first to write a comment

You must me logged in to write a comment.