OnomaUI

そろそろ の動き

「ゆっくり慎重に進む」を表す動きです。

sorosoro1種類公式

見本

ゆっくり慎重に進む

慎重な処理中

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

時間
3.2s
くり返し
する
速さの変化
linear
動かすもの
位置・透明度 translate opacity
CSS を見る
@keyframes onoma-sorosoro {
  0% { transform: translate(-30%, 0%); opacity: 0; animation-timing-function: ease-out; }
  8.33% { transform: translate(-25%, -2%); opacity: 1; animation-timing-function: ease-in; }
  16.67% { transform: translate(-20%, 0%); opacity: 1; animation-timing-function: ease-out; }
  25% { transform: translate(-15%, -2%); opacity: 1; animation-timing-function: ease-in; }
  33.33% { transform: translate(-10%, 0%); opacity: 1; animation-timing-function: ease-out; }
  41.67% { transform: translate(-5%, -2%); opacity: 1; animation-timing-function: ease-in; }
  50% { transform: translate(0%, 0%); opacity: 1; animation-timing-function: ease-out; }
  58.33% { transform: translate(5%, -2%); opacity: 1; animation-timing-function: ease-in; }
  66.67% { transform: translate(10%, 0%); opacity: 1; animation-timing-function: ease-out; }
  75% { transform: translate(15%, -2%); opacity: 1; animation-timing-function: ease-in; }
  83.33% { transform: translate(20%, 0%); opacity: 1; animation-timing-function: ease-out; }
  91.67% { transform: translate(25%, -2%); opacity: 1; animation-timing-function: ease-in; }
  100% { transform: translate(30%, 0%); opacity: 0; }
}

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

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

近い動きと見比べる