Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

aos animation

<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
AOS.init({
	duration: 1200,
});
</script>
Comment

aos animation

npm i aos — save //installation
//import 
import AOS from "aos";
import "aos/dist/aos.css";

//useEffect
useEffect(() => {
    AOS.init();
    AOS.refresh();
  }, []);

//example 
data-aos="fade-up"
Comment

aos css

/*Add styles in <head>: */

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

/*Add script right before closing </body> tag, and initialize AOS:*/
  <script src="https://unpkg.com/aos@next/dist/aos.js"></script>
  <script>
    AOS.init();
  </script>
Comment

aos animation

// 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
Comment

aos css

<div data-aos="flip-left"></div>
Comment

aos css animation

<div data-aos="zoom-in-right"></div>
Comment

aos css animation

<div data-aos="zoom-in-left"></div>
Comment

PREVIOUS NEXT
Code Example
Javascript :: js get path from url 
Javascript :: find longest palindrome javascript algorithm 
Javascript :: concat 
Javascript :: networkx get nodes 
Javascript :: how to make a discord bot send a message 
Javascript :: como percorrer um objeto js 
Javascript :: node fetch 
Javascript :: autocannon npm 
Javascript :: palindrome 
Javascript :: redirect to dashboard after login in vue 
Javascript :: double click on element using javascript 
Javascript :: Warning: Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state. 
Javascript :: check contect type axios response 
Javascript :: google sheets get ranges 
Javascript :: react native pure component vs component 
Javascript :: javascript find unique values in array of objects 
Javascript :: send params in nested screen 
Javascript :: js get children last 
Javascript :: datatable dropdown toggle not working 
Javascript :: js lambda 
Javascript :: function inside a class component react 
Javascript :: how to click on alret dialog with pupeteer 
Javascript :: for of loop ecmascript 6 
Javascript :: react carousel 
Javascript :: get character length javascript 
Javascript :: expo location background example 
Javascript :: custom indicator js tradingview 
Javascript :: javascript get all elements of an id 
Javascript :: column to comma separated string in mongodb 
Javascript :: js edit browser back location 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =