Smack firmly
Confirm buttonShrinks by 22% on press, overshoots by 10%, then settles.
- Duration
- 0.28s
- Repeats
- No
- Easing
- ease-out
- Animates
- Scale scale
Show CSS
@keyframes onoma-bashi {
0% { transform: scale(1, 1); }
35% { transform: scale(0.78, 0.78); animation-timing-function: ease-out; }
70% { transform: scale(1.1, 1.1); animation-timing-function: ease-in-out; }
100% { transform: scale(1, 1); }
}
.onoma-bashi {
animation: onoma-bashi 0.28s ease-out both;
}
/* Reduced motion: no motion */
@media (prefers-reduced-motion: reduce) {
.onoma-bashi { animation: none; }
}