OnomaUI

ぽたぽた の動き

「しずくが垂れ続ける」を表す動きです。

potapota1種類公式

見本

しずくが垂れ続ける

少しずつ進む処理

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

時間
0.9s
くり返し
する
速さの変化
ease-in
動かすもの
位置・大きさ・透明度 translate scale opacity
CSS を見る
@keyframes onoma-potapota {
  0% { transform: translate(0%, -100%) scale(0.9, 1.1); opacity: 0; }
  12% { transform: translate(0%, -82.86%) 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-potapota {
  animation: onoma-potapota 0.9s ease-in infinite both;
  transform-origin: 50% 100%;
}

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

近い動きと見比べる

同じ動きを表す言葉