Fit just right
A piece settles inZooms from 90% scale straight to full size.
- Duration
- 0.8s
- Repeats
- No
- Easing
- cubic-bezier(.2,.9,.3,1)
- Animates
- Scale · Opacity scale opacity
Show CSS
@keyframes onoma-shikkuri {
0% { transform: scale(0.9, 0.9); opacity: 0; }
60% { transform: scale(0.96, 0.96); opacity: 1; }
100% { transform: scale(1, 1); opacity: 1; }
}
.onoma-shikkuri {
animation: onoma-shikkuri 0.8s cubic-bezier(.2,.9,.3,1) both;
}
/* Reduced motion: only fade in */
@keyframes onoma-shikkuri-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
.onoma-shikkuri { animation: onoma-shikkuri-fade 0.2s ease-out both; }
}