OnomaUI

どんどこ の動き

「太鼓が鳴り響く」を表す動きです。

dondoko1種類公式

見本

太鼓が鳴り響く

祭り・盛り上がり

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

時間
0.5s
くり返し
する
速さの変化
ease-in-out
動かすもの
位置・大きさ translate scale
CSS を見る
@keyframes onoma-dondoko {
  0% { transform: translate(0%, 0%) scale(1, 1); animation-timing-function: ease-out; }
  25% { transform: translate(0%, -10%) 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-dondoko {
  animation: onoma-dondoko 0.5s ease-in-out infinite both;
  transform-origin: 50% 100%;
}

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

近い動きと見比べる