OnomaUI

うとうと の動き

「眠くてこっくりする」を表す動きです。

utouto1種類公式

見本

眠くてこっくりする

待機中を示す

2回、14%ずつ小さく沈んで戻り、少し休むのをくり返す。

時間
1.8s
くり返し
する
速さの変化
ease-in-out
動かすもの
位置 translate
CSS を見る
@keyframes onoma-utouto {
  0% { transform: translate(0%, 0%); }
  17.5% { transform: translate(0%, 14%); }
  35% { transform: translate(0%, 0%); }
  52.5% { transform: translate(0%, 14%); }
  70% { transform: translate(0%, 0%); }
  100% { transform: translate(0%, 0%); }
}

.onoma-utouto {
  animation: onoma-utouto 1.8s ease-in-out infinite both;
}

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

近い動きと見比べる