main

animate-css/animate.css

Last updated at: 29/12/2023 09:20

bounceInUp.css

TLDR

This file contains CSS code for the bounceInUp animation, which creates a bouncing effect on an element as it enters the screen.

Classes

.bounceInUp

This class applies the bounceInUp animation to an element, giving it a bouncing entrance effect as it enters the screen.

END

@keyframes bounceInUp {
  from,
  60%,
  75%,
  90%,
  to {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  from {
    opacity: 0;
    transform: translate3d(0, 3000px, 0) scaleY(5);
  }

  60% {
    opacity: 1;
    transform: translate3d(0, -20px, 0) scaleY(0.9);
  }

  75% {
    transform: translate3d(0, 10px, 0) scaleY(0.95);
  }

  90% {
    transform: translate3d(0, -5px, 0) scaleY(0.985);
  }

  to {
    transform: translate3d(0, 0, 0);
  }
}

.bounceInUp {
  animation-name: bounceInUp;
}