OnomaUI

ぼろっ の動き

「欠けて落ちる」を表す動きです。

boro1種類公式

見本

欠けて落ちる

ひとつ崩して消す

30°傾きながら、下へ100%落ちて消える。

時間
0.7s
くり返し
しない
速さの変化
cubic-bezier(.55,0,1,.45)
動かすもの
位置・回転・透明度 translate rotate opacity
CSS を見る
@keyframes onoma-boro {
  0% { transform: translate(0%, 0%) rotate(0deg); opacity: 1; }
  75% { transform: translate(0%, 75%) rotate(22.5deg); opacity: 1; }
  100% { transform: translate(0%, 100%) rotate(30deg); opacity: 0; }
}

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

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

近い動きと見比べる

同じ動きを表す言葉