animate as you scroll code example
Example 1: animate on scroll
<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
Example 2: animate on scroll
<!---Add script right before closing </body> tag, and initialize AOS:--->
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>