Plugin jQuery: Rotating Feature Boxes with jQuery & CSS3

Rotating Feature Boxes with jQuery & CSS3
http://www.jqueryrain.com/?http://css-tricks.com/examples/RotatingBlocks/
http://css-tricks.com/rotating-feature-boxes/
01/08/2012

Nội dung

Rotating Feature Boxes with jQuery & CSS3

The full effect of it (with transition animations) will work in newish WebKit and Opera browsers and Firefox 4 above. Any other browser will rotate the blocks without transition animation.

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.

Tags: Rotate Image

Nguồn: www.jqueryrain.com/2012/08/rotating-feature-boxes-with-jquery-css3/


Chưa có phản hồi
Bạn vui lòng Đăng nhập để bình luận