歯切れよく刻む
テンポよく進む処理15%の高さで弾み、着くたびに22%つぶれるのをくり返す。
- 時間
- 0.6s
- くり返し
- する
- 速さの変化
- ease-in-out
- 動かすもの
- 位置・大きさ translate scale
CSS を見る
@keyframes onoma-zakuzaku {
0% { transform: translate(0%, 0%) scale(1.22, 0.78); animation-timing-function: cubic-bezier(.3,.7,.5,1); }
50% { transform: translate(0%, -15%) scale(0.93, 1.07); animation-timing-function: cubic-bezier(.5,0,.7,.3); }
100% { transform: translate(0%, 0%) scale(1.22, 0.78); }
}
.onoma-zakuzaku {
animation: onoma-zakuzaku 0.6s ease-in-out infinite both;
transform-origin: 50% 100%;
}
/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
.onoma-zakuzaku { animation: none; }
}