By Noah | March 9, 2009
Apple is supporting CSS Animations in Safari for both desktop and the iPhone. Follow that link using the new Safari 4 Beta and you can try out some of the effects, including <div>s that fade out or spin around when you click them. The extension properties have names like “-webkit-transition” and so are specific to Webkit (the rendering engine used by Safari), at least for now. Some commentators think putting animation into CSS is heading in the wrong direction, but if the whole Web is not going to be Flash, then HTML and CSS will need capabilities for building richer interfaces. Doing it declaratively in CSS seems like a good way to go.