OnomaUI

ぐらぐら の動き

ぐらぐら の動きは、2つに分かれます。

guragura2種類公式

意味ごとの動き

不安定に揺れる

不安定・要注意

下の端を軸に、左右12°ずつ揺れ続ける。

時間
0.7s
くり返し
する
速さの変化
ease-in-out
動かすもの
回転 rotate
CSS を見る
@keyframes onoma-guragura {
  0% { transform: rotate(-12deg); }
  100% { transform: rotate(12deg); }
}

.onoma-guragura {
  animation: onoma-guragura 0.7s ease-in-out infinite alternate both;
  transform-origin: 50% 100%;
}

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

激しく煮え立つ

高負荷の処理中

小さく生まれて90%浮かび、ふくらんではじけるのをくり返す。

時間
1s
くり返し
する
速さの変化
ease-out
動かすもの
位置・大きさ・透明度 translate scale opacity
CSS を見る
@keyframes onoma-guragura-2 {
  0% { transform: translate(0%, 0%) scale(0.6, 0.6); opacity: 0; }
  15% { transform: translate(0%, -16.87%) scale(0.67, 0.67); opacity: 1; }
  80% { transform: translate(0%, -90%) scale(1, 1); opacity: 1; }
  90% { transform: translate(0%, -90%) scale(1.18, 1.18); opacity: 0; }
  100% { transform: translate(0%, -90%) scale(1.18, 1.18); opacity: 0; }
}

.onoma-guragura-2 {
  animation: onoma-guragura-2 1s ease-out infinite both;
}

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

近い動きと見比べる