なめらかにほどける
ゆるやかな登場1.5回転しながら、点から元の大きさへ現れる。
- 時間
- 1.06s
- くり返し
- しない
- 速さの変化
- cubic-bezier(.2,.8,.3,1)
- 動かすもの
- 回転・大きさ・透明度 rotate scale opacity
CSS を見る
@keyframes onoma-shururi {
0% { transform: rotate(-540deg) scale(0, 0); opacity: 0; }
30% { transform: rotate(-378deg) scale(0.3, 0.3); opacity: 1; }
100% { transform: rotate(0deg) scale(1, 1); opacity: 1; }
}
.onoma-shururi {
animation: onoma-shururi 1.06s cubic-bezier(.2,.8,.3,1) both;
}
/* 動きを減らす設定の人には、現れるだけ */
@keyframes onoma-shururi-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
.onoma-shururi { animation: onoma-shururi-fade 0.2s ease-out both; }
}