main

animate-css/animate.css

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

bounceInRight.css

TLDR

This CSS file contains animation keyframes and a class for a bouncing entrance effect called "bounceInRight".

Classes

.bounceInRight

This class applies the animation keyframes defined in the file to create a bouncing entrance effect from the right side of the screen.

END

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

  from {
    opacity: 0;
    transform: translate3d(3000px, 0, 0) scaleX(3);
  }

  60% {
    opacity: 1;
    transform: translate3d(-25px, 0, 0) scaleX(1);
  }

  75% {
    transform: translate3d(10px, 0, 0) scaleX(0.98);
  }

  90% {
    transform: translate3d(-5px, 0, 0) scaleX(0.995);
  }

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

.bounceInRight {
  animation-name: bounceInRight;
}