Answers for "animate css with scroll"

1

animation on scroll css

svg {
  position: fixed; /* make sure it stays put so we can see it! */

  animation: rotate 1s linear infinite;
  /*animation-play-state: paused;*/
  animation-delay: calc(var(--scroll) * -1s);
}
Posted by: Guest on March-17-2021
-1

animate on scroll

<!---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>
Posted by: Guest on April-11-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language