指先で軽くふれる
軽いタップ押すと6%小さく沈み、3%ふくらんでから元の大きさに戻る。
- 時間
- 0.22s
- くり返し
- しない
- 速さの変化
- ease-out
- 動かすもの
- 大きさ scale
CSS を見る
@keyframes onoma-chon {
0% { transform: scale(1, 1); }
35% { transform: scale(0.94, 0.94); animation-timing-function: ease-out; }
70% { transform: scale(1.03, 1.03); animation-timing-function: ease-in-out; }
100% { transform: scale(1, 1); }
}
.onoma-chon {
animation: onoma-chon 0.22s ease-out both;
}
/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
.onoma-chon { animation: none; }
}