Answers for "animejs"

1

animejs

// In your terminal:
$ yarn add animejs // or npm install animejs --save

// In your js file
import anime from 'animejs/lib/anime.es.js';

anime({
  targets: '#your-css-selector',
  width: '100%', // -> from '28px' to '100%',
  easing: 'easeInOutQuad',
  direction: 'alternate',
  duration: 3000,
  loop: true
});
Posted by: Guest on December-21-2020

Code answers related to "animejs"

Code answers related to "Javascript"

Browse Popular Code Answers by Language