大きく伸びる
引っぱって更新下の端から上へ75%伸び、弾むように元へ戻る。
- 時間
- 1s
- くり返し
- しない
- 速さの変化
- ease-in-out
- 動かすもの
- 大きさ scale
CSS を見る
@keyframes onoma-biyoon {
0% { transform: scale(1, 1); }
40% { transform: scale(0.74, 1.75); }
70% { transform: scale(1.07, 0.85); }
88% { transform: scale(1, 1.04); }
100% { transform: scale(1, 1); }
}
.onoma-biyoon {
animation: onoma-biyoon 1s ease-in-out both;
transform-origin: 50% 100%;
}
/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
.onoma-biyoon { animation: none; }
}