Slam shut with a clang
Close hard / commitSlams in from 180% scale and shakes 10% before settling.
- Duration
- 0.5s
- Repeats
- No
- Easing
- ease-out
- Animates
- Position · Scale · Opacity translate scale opacity
Show CSS
@keyframes onoma-gachan {
0% { transform: translate(0%, 0%) scale(1.8, 1.8); opacity: 0; animation-timing-function: cubic-bezier(.55,0,1,.45); }
30% { transform: translate(0%, 0%) scale(1, 1); opacity: 1; }
42% { transform: translate(-10%, 0%) scale(1, 1); opacity: 1; }
54% { transform: translate(7%, 0%) scale(1, 1); opacity: 1; }
66% { transform: translate(-4%, 0%) scale(1, 1); opacity: 1; }
78% { transform: translate(1.5%, 0%) scale(1, 1); opacity: 1; }
100% { transform: translate(0%, 0%) scale(1, 1); opacity: 1; }
}
.onoma-gachan {
animation: onoma-gachan 0.5s ease-out both;
}
/* Reduced motion: only fade in */
@keyframes onoma-gachan-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
.onoma-gachan { animation: onoma-gachan-fade 0.2s ease-out both; }
}