how to use aos.js in your project

AOS

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
// ..
AOS.init();

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

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

connect

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