Answers for "how to use aos in code"

0

how to use aos

npm install aos --save
then 
import AOS from "aos";
import "aos/dist/aos.css";
then
  useEffect(() => {
    AOS.init({
      duration: 3000,
    });
  });
  then 
     <div data-aos="fade-up" className={classes.layout}>
Posted by: Guest on January-18-2022

Browse Popular Code Answers by Language