手早く軽く済ます
すばやい完了一瞬5°ひねって小さく縮み、かちっと元に戻る。
- 時間
- 0.22s
- くり返し
- しない
- 速さの変化
- ease-out
- 動かすもの
- 回転・大きさ rotate scale
CSS を見る
@keyframes onoma-saku {
0% { transform: rotate(0deg) scale(1, 1); }
20% { transform: rotate(5deg) scale(0.94, 0.94); }
45% { transform: rotate(-1.5deg) scale(1.02, 1.02); }
70% { transform: rotate(0.5deg) scale(1, 1); }
100% { transform: rotate(0deg) scale(1, 1); }
}
.onoma-saku {
animation: onoma-saku 0.22s ease-out both;
}
/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
.onoma-saku { animation: none; }
}