隙間なく詰まる
容量がいっぱい押すと20%小さく沈み、0%ふくらんでから元の大きさに戻る。
- 時間
- 0.6s
- くり返し
- しない
- 速さの変化
- ease-out
- 動かすもの
- 大きさ scale
CSS を見る
@keyframes onoma-mitchiri {
0% { transform: scale(1, 1); }
35% { transform: scale(0.8, 0.8); animation-timing-function: ease-out; }
70% { transform: scale(1, 1); animation-timing-function: ease-in-out; }
100% { transform: scale(1, 1); }
}
.onoma-mitchiri {
animation: onoma-mitchiri 0.6s ease-out both;
}
/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
.onoma-mitchiri { animation: none; }
}