OnomaUI

banban motion

The motion for "bang repeatedly".

ばんばん1 motionOfficial

Sample

Bang repeatedly

Loud, insistent alert

Lifts 15%, then lands with a thud, squashing 25%, forever.

Duration
0.5s
Repeats
Yes
Easing
ease-in-out
Animates
Position · Scale translate scale
Show CSS
@keyframes onoma-banban {
  0% { transform: translate(0%, 0%) scale(1, 1); animation-timing-function: ease-out; }
  25% { transform: translate(0%, -15%) scale(1, 1); animation-timing-function: cubic-bezier(.6,0,1,.6); }
  42% { transform: translate(0%, 0%) scale(1.25, 0.75); animation-timing-function: ease-out; }
  60% { transform: translate(0%, 0%) scale(1, 1); }
  100% { transform: translate(0%, 0%) scale(1, 1); }
}

.onoma-banban {
  animation: onoma-banban 0.5s ease-in-out infinite both;
  transform-origin: 50% 100%;
}

/* Reduced motion: no motion */
@media (prefers-reduced-motion: reduce) {
  .onoma-banban { animation: none; }
}

Compare with similar motions