Drift and fall
Dismiss a cardSways 4 times (width 35%, tilt up to 24°) while falling 260% and fading out.
- Duration
- 1.2s
- Repeats
- No
- Easing
- ease-in-out
- Animates
- Position · Rotation · Opacity translate rotate opacity
Show CSS
@keyframes onoma-hirari {
0% { transform: translate(0%, 0%) rotate(0deg); opacity: 1; animation-timing-function: ease-in-out; }
25% { transform: translate(32.2%, 42.88%) rotate(22.08deg); opacity: 1; animation-timing-function: ease-in-out; }
50% { transform: translate(-29.4%, 105.59%) rotate(-20.16deg); opacity: 1; animation-timing-function: ease-in-out; }
75% { transform: translate(26.6%, 178.88%) rotate(18.24deg); opacity: 0.6; animation-timing-function: ease-in-out; }
100% { transform: translate(0%, 260%) rotate(-7.2deg); opacity: 0; animation-timing-function: ease-in-out; }
}
.onoma-hirari {
animation: onoma-hirari 1.2s ease-in-out both;
}
/* Reduced motion: only fade out */
@keyframes onoma-hirari-fade { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
.onoma-hirari { animation: onoma-hirari-fade 0.2s ease-out both; }
}