CSS グラスモーフィズム ジェネレーター
4種類の背景に対するライブプレビューでフロストガラス風UIパネルを作成。ガラスを高級に見せる saturate() のテクニックを含むクロスブラウザ対応のCSSを出力します。
0.25
グラスパネル
このカードをカラフルな背景の上に置くと、ガラスが背後のものを屈折させて見せてくれます。
グラスモーフィズムには3つの要素が必要です。半透明の背景ティント、しっかりかけた backdrop-filter のぼかし、そして控えめなボーダーのハイライト。これらをカラフルな下地(グラデーション、写真、幾何学模様)の上に重ねれば、Apple の Big Sur で広まったプレミアムなフロストガラス風の効果が得られます。
使い方
4種類の背景に対するライブプレビューでフロストガラス風UIパネルを作成。ガラスを高級に見せる saturate() のテクニックを含むクロスブラウザ対応のCSSを出力します。
- 1Pick a background preset (gradient, photo, dark, geometric) — glassmorphism only looks good against something colorful, so test against more than one.
- 2Set the tint color and opacity. Most premium glass uses #ffffff at 0.10–0.25 opacity; a black tint at 0.20–0.40 reads as 'dark glass.'
- 3Adjust blur (12–20px is the sweet spot) and saturation (180% is the Apple default — anything below 130% looks washed out).
- 4Tune the border. A 1px white border at 0.20–0.30 opacity adds the highlight that makes glass look 3D.
- 5Toggle the soft drop shadow on if the panel needs to lift off the background. Then click Copy and paste the CSS into your stylesheet.
主な機能
- Live preview against four different backgrounds — gradient, photo, dark, and geometric — so you see how the glass refracts in context
- Independent control over tint color, opacity, blur, saturation, border color/opacity, corner radius, and shadow
- Outputs both standard backdrop-filter and -webkit-backdrop-filter for full Safari + Chromium + Firefox support
- Auto-includes the saturate(180%) trick that gives premium glass UIs their colorful depth
- Pure client-side — no server, no signup, copy-paste-ready CSS