水面がひと揺れ
水に触れた反応横に10%伸びて縦に縮み、ぷるんと何度か揺れて戻る。
- 時間
- 0.6s
- くり返し
- しない
- 速さの変化
- ease-in-out
- 動かすもの
- 大きさ scale
CSS を見る
@keyframes onoma-chapun {
0% { transform: scale(1, 1); }
25% { transform: scale(1.1, 0.91); }
45% { transform: scale(0.94, 1.06); }
65% { transform: scale(1.03, 0.97); }
82% { transform: scale(0.99, 1.01); }
100% { transform: scale(1, 1); }
}
.onoma-chapun {
animation: onoma-chapun 0.6s ease-in-out both;
}
/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
.onoma-chapun { animation: none; }
}