aos animation duration code example
Example 1: aos animation
// In your terminal
yarn add aos@next or npm install --save aos@next
// In your JS file
import AOS from 'aos';
import 'aos/dist/aos.css';
AOS.init();
// then, you can add data-aos attributes in your html
Example 2: aos css animation
<div data-aos="zoom-in-left"></div>
Example 3: aos css animation
<div data-aos="zoom-in-right"></div>