OnomaUI

ぽとっ の動き

「小さな物が落ちる」を表す動きです。

poto1種類公式

見本

小さな物が落ちる

リストに加える

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

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

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

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

近い動きと見比べる

同じ動きを表す言葉