/aos.js code example

Example 1: animate on scroll github

<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
  <script>
    AOS.init();
  </script>

Example 2: animate on scroll github

<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />

Example 3: aos js

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>

Example 4: aos animate

<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>

Example 5: aos animate

<script>
  AOS.init();
</script>

Example 6: aos css animation

<div data-aos="zoom-in-left"></div>