OnomaUI

へとへと の動き

「疲れ果てる」を表す動きです。

hetoheto1種類公式

見本

疲れ果てる

上限に達した

35%下へずしんと沈み込み、しばらくしてから戻る。

時間
2.4s
くり返し
しない
速さの変化
ease-in-out
動かすもの
位置・大きさ translate scale
CSS を見る
@keyframes onoma-hetoheto {
  0% { transform: translate(0%, 0%) scale(1, 1); animation-timing-function: ease-out; }
  35% { transform: translate(0%, 35%) scale(1.04, 0.9); }
  75% { transform: translate(0%, 35%) scale(1.04, 0.9); }
  100% { transform: translate(0%, 0%) scale(1, 1); }
}

.onoma-hetoheto {
  animation: onoma-hetoheto 2.4s ease-in-out both;
  transform-origin: 50% 100%;
}

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

近い動きと見比べる