13 November 2007

Animation in CSS3


Transformations, via the -webkit-transform property, allow you to scale, rotate and skew block elements; reader Ain Tohrvi has put together an impressive test suite. At the moment this property doesn’t affect layout, so behaves more like a relatively positioned element.
Animation, which uses the -webkit-transition family of properties, allows you to set timings for fades, rotation, expansion, collapses, and more. They work in the same way as many current JavaScript libraries.

via CSS3.info
download a testpack

No comments:

Post a Comment