“Animasi AOS” Kode Jawaban

Animasi AOS

<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

Animasi AOS

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

Animasi AOS

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

Animasi AOS

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

Animasi AOS

bower install aos --save
Obnoxious Ocelot

Animasi AOS

yarn add aos
Obnoxious Ocelot

Jawaban yang mirip dengan “Animasi AOS”

Pertanyaan yang mirip dengan “Animasi AOS”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya