OnomaUI

ぎゃっ の動き

「驚いて飛び上がる」を表す動きです。

gya1種類公式

見本

驚いて飛び上がる

予期せぬエラー

縮んでから60%上へ伸び、ばねのように揺れて止まる。

時間
0.6s
くり返し
しない
速さの変化
ease-in-out
動かすもの
位置・大きさ translate scale
CSS を見る
@keyframes onoma-gya {
  0% { transform: translate(0%, 0%) scale(1, 1); }
  12% { transform: translate(0%, 0%) scale(1, 0.85); }
  30% { transform: translate(0%, -60%) scale(1, 1.12); }
  48% { transform: translate(0%, 18%) scale(1, 0.94); }
  64% { transform: translate(0%, -10.8%) scale(1, 1.03); }
  80% { transform: translate(0%, 4.2%) scale(1, 1); }
  100% { transform: translate(0%, 0%) scale(1, 1); }
}

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

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

近い動きと見比べる

同じ動きを表す言葉