AOS
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
Malario
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
CSS
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
JS
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
INITIALIZE AOS:
<script>
AOS.init();
</script>
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<div data-aos="fade-up"></div>
npm install aos --save
import AOS from "aos";
import "aos/dist/aos.css";
useEffect(() => {
AOS.init({
duration: 3000,
});
});
data-aos="flip-left"
<div data-aos="fade-zoom-in"
data-aos-easing="ease-in-back"
data-aos-delay="300"
data-aos-offset="0">
</div>