OnomaUI

ぷるぷる の動き

ぷるぷる の動きは、2つに分かれます。

purupuru2種類公式

意味ごとの動き

小さく震える

入力の誤り

左右に4往復、最初は8%の幅で、だんだん小さく震えて止まる。

時間
0.4s
くり返し
しない
速さの変化
linear
動かすもの
位置・回転 translate rotate
CSS を見る
@keyframes onoma-purupuru {
  0% { transform: translate(0%, 0%) rotate(0deg); }
  11.11% { transform: translate(-8%, 0%) rotate(-2.8deg); }
  22.22% { transform: translate(7%, 0%) rotate(2.45deg); }
  33.33% { transform: translate(-6%, 0%) rotate(-2.1deg); }
  44.44% { transform: translate(5%, 0%) rotate(1.75deg); }
  55.56% { transform: translate(-4%, 0%) rotate(-1.4deg); }
  66.67% { transform: translate(3%, 0%) rotate(1.05deg); }
  77.78% { transform: translate(-2%, 0%) rotate(-0.7deg); }
  88.89% { transform: translate(1%, 0%) rotate(0.35deg); }
  100% { transform: translate(0%, 0%) rotate(0deg); }
}

.onoma-purupuru {
  animation: onoma-purupuru 0.4s linear both;
}

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

揺れて戻る

さわった反応

横に20%伸びて縦に縮み、ぷるんと何度か揺れて戻る。

時間
0.7s
くり返し
しない
速さの変化
ease-in-out
動かすもの
大きさ scale
CSS を見る
@keyframes onoma-purupuru-jelly {
  0% { transform: scale(1, 1); }
  25% { transform: scale(1.2, 0.82); }
  45% { transform: scale(0.88, 1.12); }
  65% { transform: scale(1.06, 0.95); }
  82% { transform: scale(0.98, 1.02); }
  100% { transform: scale(1, 1); }
}

.onoma-purupuru-jelly {
  animation: onoma-purupuru-jelly 0.7s ease-in-out both;
}

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

近い動きと見比べる

同じ動きを表す言葉