OnomaUI

ぼちぼち の動き

「少しずつ進める」を表す動きです。

bochibochi1種類公式

見本

少しずつ進める

ゆっくり進行中

4歩、4%ずつ跳ねながら60%進むのをくり返す。

時間
3.2s
くり返し
する
速さの変化
linear
動かすもの
位置・透明度 translate opacity
CSS を見る
@keyframes onoma-bochibochi {
  0% { transform: translate(-30%, 0%); opacity: 0; animation-timing-function: ease-out; }
  12.5% { transform: translate(-22.5%, -4%); opacity: 1; animation-timing-function: ease-in; }
  25% { transform: translate(-15%, 0%); opacity: 1; animation-timing-function: ease-out; }
  37.5% { transform: translate(-7.5%, -4%); opacity: 1; animation-timing-function: ease-in; }
  50% { transform: translate(0%, 0%); opacity: 1; animation-timing-function: ease-out; }
  62.5% { transform: translate(7.5%, -4%); opacity: 1; animation-timing-function: ease-in; }
  75% { transform: translate(15%, 0%); opacity: 1; animation-timing-function: ease-out; }
  87.5% { transform: translate(22.5%, -4%); opacity: 1; animation-timing-function: ease-in; }
  100% { transform: translate(30%, 0%); opacity: 0; }
}

.onoma-bochibochi {
  animation: onoma-bochibochi 3.2s linear infinite both;
}

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

近い動きと見比べる