Students Save 30%! Learn & create with unlimited courses & creative assets Students Save 30%! Save Now
by
Lessons:5Length:46 minutes

2.2 How to Animate Elements

The first thing you have to do when animating an element is to specify the target. That means providing a reference to an element, or elements (Anime.js can receive multiple targets).

We do this by using the targets property and supplying the correct value. Let’s see some examples.