“AOS CSS” Code-Antworten

Aos JS

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>
Panzer

AOS -Animation

<link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/dist/aos.js"></script>
<script>
AOS.init({
	duration: 1200,
});
</script>
Fierce Fish

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"
@iinaamasum

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>
Malario

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
Lioruby

AOS CSS

<div data-aos="flip-left"></div>
Excited Echidna

Ähnliche Antworten wie “AOS CSS”

Fragen ähnlich wie “AOS CSS”

Weitere verwandte Antworten zu “AOS CSS” auf CSS

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen