OnomaUI

ぱちぱち の動き

ぱちぱち の動きは、2つに分かれます。

pachipachi2種類公式

意味ごとの動き

手をたたく

成功をたたえる

108%までふくらんでは戻るのを、一定のリズムでくり返す。

時間
0.3s
くり返し
する
速さの変化
ease-in-out
動かすもの
大きさ scale
CSS を見る
@keyframes onoma-pachipachi {
  0% { transform: scale(1, 1); }
  50% { transform: scale(1.08, 1.08); }
  100% { transform: scale(1, 1); }
}

.onoma-pachipachi {
  animation: onoma-pachipachi 0.3s ease-in-out infinite both;
}

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

火花がはぜる

注目を集める

25%しぼんで光が弱まり、また輝くのをくり返す。

時間
0.5s
くり返し
する
速さの変化
ease-in-out
動かすもの
回転・大きさ・透明度 rotate scale opacity
CSS を見る
@keyframes onoma-pachipachi-2 {
  0% { transform: rotate(0deg) scale(1, 1); opacity: 1; }
  50% { transform: rotate(20deg) scale(0.75, 0.75); opacity: 0.63; }
  100% { transform: rotate(0deg) scale(1, 1); opacity: 1; }
}

.onoma-pachipachi-2 {
  animation: onoma-pachipachi-2 0.5s ease-in-out infinite both;
}

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

近い動きと見比べる