main

animate-css/animate.css

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

flipInX.css

TLDR

This file contains CSS code that defines an animation called flipInX. It also includes a CSS class called flipInX that applies the animation to an element.

Classes

flipInX

This class sets the backface-visibility property to visible and applies the flipInX animation to an element.

END

@keyframes flipInX {
  from {
    transform: perspective(400px) rotate3d(1, 0, 0, 90deg);
    animation-timing-function: ease-in;
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotate3d(1, 0, 0, -20deg);
    animation-timing-function: ease-in;
  }

  60% {
    transform: perspective(400px) rotate3d(1, 0, 0, 10deg);
    opacity: 1;
  }

  80% {
    transform: perspective(400px) rotate3d(1, 0, 0, -5deg);
  }

  to {
    transform: perspective(400px);
  }
}

.flipInX {
  backface-visibility: visible !important;
  animation-name: flipInX;
}