main

animate-css/animate.css

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

shakeY.css

TLDR

This file contains CSS code for animating an element to shake vertically using the shakeY animation.

Methods

None

Classes

.shakeY

This class applies the shakeY animation to the element, causing it to shake vertically.

@keyframes shakeY {
  from,
  to {
    transform: translate3d(0, 0, 0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translate3d(0, -10px, 0);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translate3d(0, 10px, 0);
  }
}

.shakeY {
  animation-name: shakeY;
}