CSSツール

ディスクリートトランジションジェネレーター

表示・非表示が切り替わる要素をアニメーションするCSSを生成します。

ツールを読み込み中...

ディスクリートトランジションジェネレーターとは

ディスクリートトランジションジェネレーターは、表示・非表示が切り替わる要素をアニメーションするCSSを生成します。 出力は公開サイトに使う前に確認しやすい形で表示されます。

Quick answer

Discrete transitions enable CSS transitions for display:none and other discrete properties when an element enters or leaves the DOM. Use @starting-style to define the initial state before the element appears.

Limitations

  • Discrete transitions for display require Chrome 117+ or Safari 17.5+. Firefox support is behind a flag as of early 2026.
  • @starting-style is required for the entry animation. Without it the element snaps into its final state before starting the transition.
  • Discrete transitions only animate the entry and exit where display changes. Mid-state transitions between intermediate values are not supported for discrete properties.

使い方

  1. 必要な値を入力します。
  2. 結果パネルの出力を確認します。
  3. ページに合う部分だけコピーします。
  4. 公開前にブラウザとホスティング環境で確認します。

主な用途

  • 公開前の繰り返し作業を短くする。
  • マークアップ、CSS、チェックリストを準備する。
  • 静的サイトで見落としやすい小さなミスを減らす。

よくあるミス

  • 出力を確認せず本番に入れる。
  • 公開URLではなくローカルURLを使う。
  • build後に公開フォルダ内のファイルを確認しない。

Verification

  1. Test the entry and exit transitions in Chrome or Safari and verify the animation plays in both directions.
  2. Check the browser console for any CSS transition warnings related to discrete properties.

FAQ

ディスクリートトランジションジェネレーターのFAQ

ディスクリートトランジションジェネレーターはブラウザ内で動きますか?

はい。現在のツールはブラウザで出力を生成する設計です。

出力のテストは必要ですか?

はい。テンプレート、ブラウザ、ホスティング設定に合わせて必ず確認してください。

関連ツール

その他のcssツール

こちらもお試しください

こちらもお試しください