aos animation
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><script src="https://unpkg.com/[email protected]/dist/aos.js"></script><link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet"><script>
AOS.init();
</script>//install
npm install aos --save
//initialize in react
import AOS from 'aos'
import 'aos/dist/aos.css';
AOS.init();
// In your terminal
yarn add aos@next or npm install --save aos@next
// In your JS file
import AOS from 'aos';
import 'aos/dist/aos.css';
AOS.init();
// then, you can add data-aos attributes in your html
Also in JavaScript:
- afficher une variable dans la console javascript
- how display same paragraph in all pages of website in js
- ionic g service services/auth ionic g service services/authGuard npm i @ionic/storage npm i @auth0/angular-jwt ionic cordova plugin add cordova-sqlite-storage
- es6 node
- how to return a string x amount in javascript without using . repeat
- discord js stats command
- How to add a property at the middle of an object in javascript
- javascript string contains character
- Rectangle class module
- disable specific input field on page load jquery
- how to get class name in jquery
- district based on state ajax call while adding and editing in laravel
- how to get the last element in javascript
- cli run js
- jquery use variable in string "without" concatenate
- js combine two arrays
- jquery redirect to url
- javascript change url without redirect
- jquery cdm
- jquery set href of link
- chack var exist for skip error on javascript
- use thymeleaf variable in javascript
- js script
- chartJs height