OnomaUI

ごつごつ の動き

「硬くでこぼこしている」を表す動きです。

gotsugotsu1種類公式

見本

硬くでこぼこしている

硬く重い物の表現

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

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

.onoma-gotsugotsu {
  animation: onoma-gotsugotsu 0.5s ease-in-out infinite both;
  transform-origin: 50% 100%;
}

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

近い動きと見比べる