C H A P T E R  23

Transitions, Animations, and Transforms

In this chapter, I introduce three different ways that you can apply simple special effects to HTML elements: transitions, animations, and transforms. I’ll explain and demonstrate each of these terms later in the chapter. All three features are new in CSS3 and, as I write this, are supported only through browser-specific prefixes. This is something I expect to change reasonably quickly, because these features are going to be extremely popular with web designers and developers.

Applying effects to HTML elements isn’t a new idea, and most of the good JavaScript libraries available contain at least a few of the effects that are now rolled into CSS3. The advantage of using CSS3 over JavaScript ...

Get The Definitive Guide to HTML5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.