OnomaUI

さくさく の動き

さくさく の動きは、2つに分かれます。

sakusaku2種類公式

意味ごとの動き

軽快にはかどる

処理が快調に進む

8歩、18%ずつ跳ねながら80%進むのをくり返す。

時間
0.9s
くり返し
する
速さの変化
linear
動かすもの
位置・透明度 translate opacity
CSS を見る
@keyframes onoma-sakusaku {
  0% { transform: translate(-40%, 0%); opacity: 0; animation-timing-function: ease-out; }
  6.25% { transform: translate(-35%, -18%); opacity: 1; animation-timing-function: ease-in; }
  12.5% { transform: translate(-30%, 0%); opacity: 1; animation-timing-function: ease-out; }
  18.75% { transform: translate(-25%, -18%); opacity: 1; animation-timing-function: ease-in; }
  25% { transform: translate(-20%, 0%); opacity: 1; animation-timing-function: ease-out; }
  31.25% { transform: translate(-15%, -18%); opacity: 1; animation-timing-function: ease-in; }
  37.5% { transform: translate(-10%, 0%); opacity: 1; animation-timing-function: ease-out; }
  43.75% { transform: translate(-5%, -18%); opacity: 1; animation-timing-function: ease-in; }
  50% { transform: translate(0%, 0%); opacity: 1; animation-timing-function: ease-out; }
  56.25% { transform: translate(5%, -18%); opacity: 1; animation-timing-function: ease-in; }
  62.5% { transform: translate(10%, 0%); opacity: 1; animation-timing-function: ease-out; }
  68.75% { transform: translate(15%, -18%); opacity: 1; animation-timing-function: ease-in; }
  75% { transform: translate(20%, 0%); opacity: 1; animation-timing-function: ease-out; }
  81.25% { transform: translate(25%, -18%); opacity: 1; animation-timing-function: ease-in; }
  87.5% { transform: translate(30%, 0%); opacity: 1; animation-timing-function: ease-out; }
  93.75% { transform: translate(35%, -18%); opacity: 1; animation-timing-function: ease-in; }
  100% { transform: translate(40%, 0%); opacity: 0; }
}

.onoma-sakusaku {
  animation: onoma-sakusaku 0.9s linear infinite both;
}

/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
  .onoma-sakusaku { animation: none; }
}

軽く歯切れよい

軽いタップの反応

押すと6%小さく沈み、2%ふくらんでから元の大きさに戻る。

時間
0.24s
くり返し
しない
速さの変化
ease-out
動かすもの
大きさ scale
CSS を見る
@keyframes onoma-sakusaku-2 {
  0% { transform: scale(1, 1); }
  35% { transform: scale(0.94, 0.94); animation-timing-function: ease-out; }
  70% { transform: scale(1.02, 1.02); animation-timing-function: ease-in-out; }
  100% { transform: scale(1, 1); }
}

.onoma-sakusaku-2 {
  animation: onoma-sakusaku-2 0.24s ease-out both;
}

/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
  .onoma-sakusaku-2 { animation: none; }
}

近い動きと見比べる