OnomaUI

ぽかっ の動き

「頭を軽くたたく」を表す動きです。

poka1種類公式

見本

頭を軽くたたく

ツッコミ・叱る

上から押されたように22%つぶれ、弾んで元に戻る。

時間
0.3s
くり返し
しない
速さの変化
ease-in-out
動かすもの
大きさ scale
CSS を見る
@keyframes onoma-poka {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.13, 0.78); }
  60% { transform: scale(0.97, 1.04); }
  82% { transform: scale(1.01, 0.99); }
  100% { transform: scale(1, 1); }
}

.onoma-poka {
  animation: onoma-poka 0.3s ease-in-out both;
  transform-origin: 50% 100%;
}

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

近い動きと見比べる