how to use aos.js in your project

Today we take a look at aos.js - the Animate On Scroll library created by Michal Sajnóg. This Library is small, easy to use and perfect to create simple singlepages.

install/load AOS

If you are working with node.js you can install AOS using NPM:

npm install --save aos@next

Or yarn:

yarn add aos@next

Import script, styles and initialize AOS:

import AOS from 'aos';
import 'aos/dist/aos.css'; // You can also use  for styles
// ..

Or you can use a CDN service to load aos.css inside your <head> tags:

<link rel="stylesheet" href="" /> more


please enter your name
please enter a valid email above
please enter the subject for your request
please enter your message before you send the form
mail successfully committed