OnomaUI

ぼろぼろ の動き

ぼろぼろ の動きは、2つに分かれます。

boroboro2種類公式

意味ごとの動き

崩れ落ちて傷む

壊れた・疲れ果てた

少し震えてから、崩れるように300%落ちて消える。

時間
1.4s
くり返し
しない
速さの変化
ease-in
動かすもの
位置・回転・透明度 translate rotate opacity
CSS を見る
@keyframes onoma-boroboro {
  0% { transform: translate(0%, 0%) rotate(0deg); opacity: 1; }
  8% { transform: translate(-2%, 0%) rotate(0deg); opacity: 1; }
  16% { transform: translate(2%, 0%) rotate(0deg); opacity: 1; }
  24% { transform: translate(-1.5%, 0%) rotate(0deg); opacity: 1; }
  32% { transform: translate(0%, 0%) rotate(0deg); opacity: 1; }
  80% { transform: translate(0%, 211.76%) rotate(42.35deg); opacity: 1; }
  100% { transform: translate(0%, 300%) rotate(60deg); opacity: 0; }
}

.onoma-boroboro {
  animation: onoma-boroboro 1.4s ease-in both;
}

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

涙がこぼれ続ける

大泣きの表現

上から60%落ちて、着くとつぶれて消えるのをくり返す。

時間
0.9s
くり返し
する
速さの変化
ease-in
動かすもの
位置・大きさ・透明度 translate scale opacity
CSS を見る
@keyframes onoma-boroboro-2 {
  0% { transform: translate(0%, -60%) scale(0.9, 1.1); opacity: 0; }
  12% { transform: translate(0%, -49.71%) scale(0.9, 1.1); opacity: 1; }
  70% { transform: translate(0%, 0%) scale(0.9, 1.1); opacity: 1; animation-timing-function: ease-out; }
  80% { transform: translate(0%, 0%) scale(1.3, 0.6); opacity: 1; }
  92% { transform: translate(0%, 0%) scale(1.4, 0.3); opacity: 0; }
  100% { transform: translate(0%, 0%) scale(1.4, 0.3); opacity: 0; }
}

.onoma-boroboro-2 {
  animation: onoma-boroboro-2 0.9s ease-in infinite both;
  transform-origin: 50% 100%;
}

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

近い動きと見比べる