OnomaUI

ふわっ の動き

ふわっ の動きは、3つに分かれます。

fuwa3種類公式

意味ごとの動き

浮かんで現れる

カードが出る

22%下から、94%の大きさで浮かびながら、透明から現れる。

時間
0.52s
くり返し
しない
速さの変化
cubic-bezier(.2,.8,.2,1)
動かすもの
位置・大きさ・透明度 translate scale opacity
CSS を見る
@keyframes onoma-fuwa {
  0% { transform: translate(0%, 22%) scale(0.94, 0.94); opacity: 0; }
  100% { transform: translate(0%, 0%) scale(1, 1); opacity: 1; }
}

.onoma-fuwa {
  animation: onoma-fuwa 0.52s cubic-bezier(.2,.8,.2,1) both;
}

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

浮かぶ

待機中

上下12%ずつ、少し傾きながらゆっくり浮かび続ける。

時間
2.4s
くり返し
する
速さの変化
ease-in-out
動かすもの
位置・回転 translate rotate
CSS を見る
@keyframes onoma-fuwa-float {
  0% { transform: translate(0%, 12%) rotate(-2deg); }
  100% { transform: translate(0%, -12%) rotate(2deg); }
}

.onoma-fuwa-float {
  animation: onoma-fuwa-float 2.4s ease-in-out infinite alternate both;
}

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

膨らむ

選ばれた

112%までふんわり膨らみ、元に戻る。

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

.onoma-fuwa-swell {
  animation: onoma-fuwa-swell 0.7s ease-in-out both;
}

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

近い動きと見比べる

同じ動きを表す言葉