Answers for "how to use aos animation"

6

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>
Posted by: Guest on May-04-2020
0

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
Posted by: Guest on January-28-2021
0

aos css animation

<div data-aos="zoom-in-left"></div>
Posted by: Guest on July-19-2020
0

aos animation manual seting

[data-aos="new-animation"] {
  opacity: 0;
  transition-property: transform, opacity;

  &.aos-animate {
    opacity: 1;
  }

  @media screen and (min-width: 768px) {
    transform: translateX(100px);

    &.aos-animate {
      transform: translateX(0);
    }
  }
}
Posted by: Guest on November-30-2020
0

aos animation manual seting

<div data-aos="new-animation"></div>
Posted by: Guest on November-30-2020
0

aos css animation

<div data-aos="zoom-in-right"></div>
Posted by: Guest on July-19-2020

Browse Popular Code Answers by Language