OnomaUI

ことん の動き

「軽い物が落ちる」を表す動きです。

koton1種類公式

見本

軽い物が落ちる

アイテムを入れる

上90%から加速して落ち、着地で14%つぶれて止まる。

時間
0.5s
くり返し
しない
速さの変化
cubic-bezier(.55,0,1,.45)
動かすもの
位置・大きさ translate scale
CSS を見る
@keyframes onoma-koton {
  0% { transform: translate(0%, -90%) scale(1, 1); animation-timing-function: cubic-bezier(.55,0,1,.45); }
  62% { transform: translate(0%, 0%) scale(1.14, 0.86); animation-timing-function: ease-out; }
  80% { transform: translate(0%, 0%) scale(0.97, 1.03); }
  100% { transform: translate(0%, 0%) scale(1, 1); }
}

.onoma-koton {
  animation: onoma-koton 0.5s cubic-bezier(.55,0,1,.45) both;
}

/* 動きを減らす設定の人には、現れるだけ */
@keyframes onoma-koton-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .onoma-koton { animation: onoma-koton-fade 0.2s ease-out both; }
}

近い動きと見比べる