Introducing animation types

When we talk about creating animations, this could be taken to mean that we're moving content; while this is perfectly true, we're not limited to simply moving elements. We could equally transition elements from one state to another or bend and manipulate their appearance on the screen. Let's take a look at each animation type in more detail, beginning with animations.

Animating content

Animating content is used to move objects and can be used as an alternative to using Flash. They define what happens to a set of element's properties—we can control how these properties behave when defining our animation, including their frequency.

The key difference between animations and transitions is that animations can be fired without ...

Get Learning Less.js 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.