Chewy bounce-back
Button pressShrinks by 14% on press, overshoots by 10%, then settles.
- Duration
- 0.46s
- Repeats
- No
- Easing
- ease-out
- Animates
- Scale scale
Show CSS
@keyframes onoma-mochi {
0% { transform: scale(1, 1); }
35% { transform: scale(0.86, 0.86); animation-timing-function: ease-out; }
70% { transform: scale(1.1, 1.1); animation-timing-function: ease-in-out; }
100% { transform: scale(1, 1); }
}
.onoma-mochi {
animation: onoma-mochi 0.46s ease-out both;
}
/* Reduced motion: no motion */
@media (prefers-reduced-motion: reduce) {
.onoma-mochi { animation: none; }
}