Animate auf Scroll Github
<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="zoom-in-right"></div>
<div data-aos="zoom-in-left"></div>
npm install aos --save
then
import AOS from "aos";
import "aos/dist/aos.css";
then
useEffect(() => {
AOS.init({
duration: 3000,
});
});
then
<div data-aos="fade-up" className={classes.layout}>