水気がゆれ続ける
液量・水位の表示横と縦に8%ずつ、交互に伸び縮みし続ける。
- 時間
- 0.9s
- くり返し
- する
- 速さの変化
- ease-in-out
- 動かすもの
- 大きさ scale
CSS を見る
@keyframes onoma-taputapu {
0% { transform: scale(1.08, 0.92); }
100% { transform: scale(0.92, 1.08); }
}
.onoma-taputapu {
animation: onoma-taputapu 0.9s ease-in-out infinite alternate both;
}
/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
.onoma-taputapu { animation: none; }
}