OnomaUI

ちらちら の動き

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

chirachira2種類公式

意味ごとの動き

光がちらつく

控えめな注意

50%の明るさまで一瞬暗くなり、すぐ戻るのをくり返す。

時間
1.4s
くり返し
する
速さの変化
ease-in-out
動かすもの
大きさ・透明度 scale opacity
CSS を見る
@keyframes onoma-chirachira {
  0% { transform: scale(1, 1); opacity: 1; }
  42% { transform: scale(1, 1); opacity: 1; }
  50% { transform: scale(0.97, 0.97); opacity: 0.5; }
  58% { transform: scale(1, 1); opacity: 1; }
  100% { transform: scale(1, 1); opacity: 1; }
}

.onoma-chirachira {
  animation: onoma-chirachira 1.4s ease-in-out infinite both;
}

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

雪が舞い落ちる

季節の演出

左右に5回、幅20%・傾き最大20°で揺れながら、下へ200%落ちて消える。

時間
2.4s
くり返し
しない
速さの変化
ease-in-out
動かすもの
位置・回転・透明度 translate rotate opacity
CSS を見る
@keyframes onoma-chirachira-2 {
  0% { transform: translate(0%, 0%) rotate(0deg); opacity: 1; animation-timing-function: ease-in-out; }
  20% { transform: translate(18.67%, 24.68%) rotate(18.67deg); opacity: 1; animation-timing-function: ease-in-out; }
  40% { transform: translate(-17.33%, 60.77%) rotate(-17.33deg); opacity: 1; animation-timing-function: ease-in-out; }
  60% { transform: translate(16%, 102.95%) rotate(16deg); opacity: 1; animation-timing-function: ease-in-out; }
  80% { transform: translate(-14.67%, 149.64%) rotate(-14.67deg); opacity: 0.6; animation-timing-function: ease-in-out; }
  100% { transform: translate(0%, 200%) rotate(6deg); opacity: 0; animation-timing-function: ease-in-out; }
}

.onoma-chirachira-2 {
  animation: onoma-chirachira-2 2.4s ease-in-out both;
}

/* 動きを減らす設定の人には、消えるだけ */
@keyframes onoma-chirachira-2-fade { from { opacity: 1; } to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .onoma-chirachira-2 { animation: onoma-chirachira-2-fade 0.2s ease-out both; }
}

近い動きと見比べる