Skip to main content

AOS

Animate On Scroll library using CSS3.

Installation

Add styles in <head></head>

            
              <link rel="stylesheet" href="src/plugins/aos/dist/aos.css">
            
          

Add script right before closing </body> tag, and initialize AOS

            
              <!-- Plugin js -->
              <script src="src/plugins/aos/dist/aos.js"></script>

              <!-- Theme js -->
              <script src="src/js/theme.js"></script>
            
          

If you want to remove AOS js editing theme.js in this function myAos();


Example


Latest Bootstrap

Bootstrap 4 the world’s most popular front-end component library.

NPM Software

Enjoy with the public registry tools you already love to use.

Built with Gulp

Gulp making your project automatic and easy to running.

How to use

You can use animation with paste this code data-aos="fade-up" or data-aos="fade-right" or other style in your layout. You also can set delay time with this code data-aos-delay="100" and dont forget to change 100 with your value.

            
              <!-- row -->
              <div class="row text-center">
                <div class="col-12 col-sm-6 col-lg-4" data-aos="fade-up">
                  <!-- service block -->
                  <div class="shadow-sm rounded-3 bg-white p-4 mb-5 hover-box-up">
                    <div class="text-primary mb-4">
                      <!-- icon -->
                      <svg class="bi bi-bootstrap" width="2.5rem" height="2.5rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
                    <path fill-rule="evenodd" d="M12 1H4a3 3 0 00-3 3v8a3 3 0 003 3h8a3 3 0 003-3V4a3 3 0 00-3-3zM4 0a4 4 0 00-4 4v8a4 4 0 004 4h8a4 4 0 004-4V4a4 4 0 00-4-4H4z" clip-rule="evenodd"></path>
                    <path fill-rule="evenodd" d="M8.537 12H5.062V3.545h3.399c1.587 0 2.543.809 2.543 2.11 0 .884-.65 1.675-1.483 1.816v.1c1.143.117 1.904.931 1.904 2.033 0 1.488-1.084 2.396-2.888 2.396zM6.375 4.658v2.467h1.558c1.16 0 1.764-.428 1.764-1.23 0-.78-.569-1.237-1.541-1.237H6.375zm1.898 6.229H6.375V8.162h1.822c1.236 0 1.887.463 1.887 1.348 0 .896-.627 1.377-1.811 1.377z" clip-rule="evenodd"></path>
                  </svg>
                    </div>
                    <h3 class="h5 fw-medium mb-1">Latest Bootstrap</h3>
                    <p class="text-light-blue">Bootstrap 4 the world’s most popular front-end component library.</p>
                  </div> <!-- end service block -->
                </div>

                <div class="col-12 col-sm-6 col-lg-4" data-aos="fade-up" data-aos-delay="100">
                  <!-- service block -->
                  <div class="shadow-sm rounded-3 bg-white p-4 mb-5 hover-box-up">
                    <div class="text-primary mb-4">
                      <!-- icon -->
                      <svg xmlns="http://www.w3.org/2000/svg" width="3rem" height="3rem" viewBox="0 0 512 512"><rect x="227.6" y="213.1" width="28.4" height="57.1" style="fill:currentColor"></rect><path d="M0,156V327.4H142.2V356H256V327.4H512V156ZM142.2,298.9H113.8V213.2H85.3v85.7H28.4V184.6H142.2Zm142.2,0H227.5v28.6H170.6V184.6H284.4V298.9Zm199.2,0H455.2V213.2H426.8v85.7H398.4V213.2H370v85.7H313.1V184.6H483.8V298.9Z" style="fill:currentColor"></path></svg>

                    </div>
                    <h3 class="h5 fw-medium mb-1">NPM Software</h3>
                    <p class="text-light-blue">Enjoy with the public registry tools you already love to use.</p>
                  </div><!-- end service block -->
                </div>

                <div class="col-12 col-sm-6 col-lg-4" data-aos="fade-up" data-aos-delay="200">
                  <!-- service block -->
                  <div class="shadow-sm rounded-3 bg-white p-4 mb-5 hover-box-up">
                    <div class="text-primary mb-4">
                      <!-- icon -->
                      <svg xmlns="http://www.w3.org/2000/svg" width="3rem" height="3rem" viewBox="0 0 256 512"><path style="fill:currentColor" d="M209.8 391.1l-14.1 24.6-4.6 80.2c0 8.9-28.3 16.1-63.1 16.1s-63.1-7.2-63.1-16.1l-5.8-79.4-14.9-25.4c41.2 17.3 126 16.7 165.6 0zm-196-253.3l13.6 125.5c5.9-20 20.8-47 40-55.2 6.3-2.7 12.7-2.7 18.7.9 5.2 3 9.6 9.3 10.1 11.8 1.2 6.5-2 9.1-4.5 9.1-3 0-5.3-4.6-6.8-7.3-4.1-7.3-10.3-7.6-16.9-2.8-6.9 5-12.9 13.4-17.1 20.7-5.1 8.8-9.4 18.5-12 28.2-1.5 5.6-2.9 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-12.3.5-1.7 1.1-3.3 1.8-4.8 1.1-2.5 2.6-5.1 5.2-5.1 1.3 0 2.4.5 3.2 1.5 1.7 2.2 1.3 4.5.4 6.9-2 5.6-4.7 10.6-6.9 16.7-1.3 3.5-2.7 8-2.7 11.7 0 3.4 3.7 2.6 6.8 1.2 2.4-1.1 4.8-2.8 6.8-4.5 1.2-4.9.9-3.8 26.4-68.2 1.3-3.3 3.7-4.7 6.1-4.7 1.2 0 2.2.4 3.2 1.1 1.7 1.3 1.7 4.1 1 6.2-.7 1.9-.6 1.3-4.5 10.5-5.2 12.1-8.6 20.8-13.2 31.9-1.9 4.6-7.7 18.9-8.7 22.3-.6 2.2-1.3 5.8 1 5.8 5.4 0 19.3-13.1 23.1-17 .2-.3.5-.4.9-.6.6-1.9 1.2-3.7 1.7-5.5 1.4-3.8 2.7-8.2 5.3-11.3.8-1 1.7-1.6 2.7-1.6 2.8 0 4.2 1.2 4.2 4 0 1.1-.7 5.1-1.1 6.2 1.4-1.5 2.9-3 4.5-4.5 15-13.9 25.7-6.8 25.7.2 0 7.4-8.9 17.7-13.8 23.4-1.6 1.9-4.9 5.4-5 6.4 0 1.3.9 1.8 2.2 1.8 2 0 6.4-3.5 8-4.7 5-3.9 11.8-9.9 16.6-14.1l14.8-136.8c-30.5 17.1-197.6 17.2-228.3.2zm229.7-8.5c0 21-231.2 21-231.2 0 0-8.8 51.8-15.9 115.6-15.9 9 0 17.8.1 26.3.4l12.6-48.7L228.1.6c1.4-1.4 5.8-.2 9.9 3.5s6.6 7.9 5.3 9.3l-.1.1L185.9 74l-10 40.7c39.9 2.6 67.6 8.1 67.6 14.6zm-69.4 4.6c0-.8-.9-1.5-2.5-2.1l-.2.8c0 1.3-5 2.4-11.1 2.4s-11.1-1.1-11.1-2.4c0-.1 0-.2.1-.3l.2-.7c-1.8.6-3 1.4-3 2.3 0 2.1 6.2 3.7 13.7 3.7 7.7.1 13.9-1.6 13.9-3.7z"></path></svg>

                    </div>
                    <h3 class="h5 fw-medium mb-1">Built with Gulp</h3>
                    <p class="text-light-blue">Gulp making your project automatic and easy to running.</p>
                  </div><!-- end service block -->
                </div>
              </div>
            
          

For complete documentation read in here