OnomaUI

ことこと の動き

「弱火で煮える」を表す動きです。

kotokoto1種類公式

見本

弱火で煮える

じっくり準備中

5%の高さで弾み、着くたびに4%つぶれるのをくり返す。

時間
0.6s
くり返し
する
速さの変化
ease-in-out
動かすもの
位置・大きさ translate scale
CSS を見る
@keyframes onoma-kotokoto {
  0% { transform: translate(0%, 0%) scale(1.04, 0.96); animation-timing-function: cubic-bezier(.3,.7,.5,1); }
  50% { transform: translate(0%, -5%) scale(0.99, 1.01); animation-timing-function: cubic-bezier(.5,0,.7,.3); }
  100% { transform: translate(0%, 0%) scale(1.04, 0.96); }
}

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

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

近い動きと見比べる