OnomaUI

がんがん の動き

がんがん の動きは、2つに分かれます。

gangan2種類公式

意味ごとの動き

頭に強く響く

しつこい通知・警告

116%までふくらんでは戻るのを、一定のリズムでくり返す。

時間
0.6s
くり返し
する
速さの変化
ease-in-out
動かすもの
大きさ scale
CSS を見る
@keyframes onoma-gangan {
  0% { transform: scale(1, 1); }
  50% { transform: scale(1.16, 1.16); }
  100% { transform: scale(1, 1); }
}

.onoma-gangan {
  animation: onoma-gangan 0.6s ease-in-out infinite both;
}

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

勢いよく進める

作業の追い込み

24%持ち上がっては、どしんと着いて18%つぶれるのをくり返す。

時間
0.6s
くり返し
する
速さの変化
ease-in-out
動かすもの
位置・大きさ translate scale
CSS を見る
@keyframes onoma-gangan-2 {
  0% { transform: translate(0%, 0%) scale(1, 1); animation-timing-function: ease-out; }
  25% { transform: translate(0%, -24%) scale(1, 1); animation-timing-function: cubic-bezier(.6,0,1,.6); }
  42% { transform: translate(0%, 0%) scale(1.18, 0.82); animation-timing-function: ease-out; }
  60% { transform: translate(0%, 0%) scale(1, 1); }
  100% { transform: translate(0%, 0%) scale(1, 1); }
}

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

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

近い動きと見比べる