[!IMPORTANT]
Anime.js V4 is now available in early access
After years in the making, Anime.js V4 is finally available in early access for my GitHub Sponsors!
Via npm
$ npm install animejs --save
or manual download.
import anime from 'animejs/lib/anime.es.js';
const anime = require('animejs');
Link anime.min.js
in your HTML :
<script src="anime.min.js"></script>
anime({
targets: 'div',
translateX: 250,
rotate: '1turn',
backgroundColor: '#FFF',
duration: 800
});
Chrome | Safari | IE / Edge | Firefox | Opera |
---|---|---|---|---|
24+ | 8+ | 11+ | 32+ | 15+ |
Website | Documentation | Demos and examples | MIT License | 2019 Julian Garnier.