OnomaUI

よしよし の動き

「なでてなだめる」を表す動きです。

yoshiyoshi1種類公式

見本

なでてなだめる

慰めの表現

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

時間
1.4s
くり返し
する
速さの変化
ease-in-out
動かすもの
位置 translate
CSS を見る
@keyframes onoma-yoshiyoshi {
  0% { transform: translate(0%, 0%); }
  11.67% { transform: translate(0%, 6%); }
  23.33% { transform: translate(0%, 0%); }
  35% { transform: translate(0%, 6%); }
  46.67% { transform: translate(0%, 0%); }
  58.33% { transform: translate(0%, 6%); }
  70% { transform: translate(0%, 0%); }
  100% { transform: translate(0%, 0%); }
}

.onoma-yoshiyoshi {
  animation: onoma-yoshiyoshi 1.4s ease-in-out infinite both;
}

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

近い動きと見比べる