Birthday Sale! Up to 40% off unlimited courses & creative assets Birthday Sale! Save up to 40%!
Lessons:5Length:46 minutes
Animefoundationreact animejs 1
  • Overview
  • Transcript

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.