on scroll animations code example
Example 1: aos animate install
//install
npm install aos --save
//initialize in react
import AOS from 'aos'
import 'aos/dist/aos.css';
AOS.init();
Example 2: aos animate
<script>
AOS.init();
</script>
Example 3: css animation scroll position
css animation scroll position