js fade on scroll library code example
Example 1: aos js cdn
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 2: aos
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />