Glassmorphism Generator
Design frosted glass UI cards with CSS backdrop-filter blur, border highlights, and scene previews.
Runs in your browser. Nothing you add is uploaded.
What the Glassmorphism Generator does
Design a frosted-glass panel: a semi-transparent background with backdrop-filter blurring whatever sits behind it, an optional light border, rounded corners and a soft shadow. Sliders control blur, saturation, tint colour and opacity, border colour, opacity and width, and corner radius, and the preview card sits over a choice of three busy backgrounds so you can judge the effect. The output is plain CSS, including the -webkit- prefixed line for older Safari versions, and the equivalent Tailwind classes.
How to create a glassmorphism effect
- Start from a preset: Frosted Glass Card, Dark HUD, Ultra Minimal Rim or Deep Obsidian Glass.
- Adjust Backdrop Blur and Saturation to set how strongly the background is softened.
- Set the tint colour and its opacity; lower opacity lets more of the background show through.
- Set the border colour, opacity and width, and the corner radius.
- Switch the preview scene (gradient, geometric shapes or neon) to test it over different content, then copy the CSS or the Tailwind classes.
The Glassmorphism Generator runs entirely in your browser — nothing you enter is uploaded, stored, or logged.
When to use it
Sticky headers over scrolling content
A header with a light tint and 10–16px of blur stays readable while the page scrolls underneath and still hints at what is behind it. Test it over the busiest content on your page, such as photos, not just over a plain background.
Cards on a photo or gradient
Glass panels only work when there is something colourful behind them; over a flat white page they just look grey. Raising saturation to around 150–180% keeps the colours behind the glass vivid instead of muddy.
Dialogs and overlays
A blurred backdrop behind a dialog keeps the page visible but clearly inactive. Make the dialog's own tint opaque enough that its text stays readable whatever happens to be behind it.
Good to know
- backdrop-filter blurs only what is behind the element. With nothing colourful behind it, there is nothing visible to blur.
- Contrast changes as the background moves. Check text over the brightest and darkest content the panel can sit on, and raise the tint opacity until it stays readable; WCAG asks for 4.5:1 for body text.
- Large blurred areas cost GPU time, especially on low-end phones and when animated. Keep the blurred area modest and avoid animating it.
- Browsers without backdrop-filter show only the semi-transparent tint, so pick a tint that still works without the blur.
- In the Tailwind output, spaces inside arbitrary values are written as underscores, for example bg-[rgba(255,_255,_255,_0.15)], as Tailwind requires.
Frequently asked questions
Which browsers support CSS backdrop-filter?
What makes frosted glass look realistic?
What is the difference between filter: blur() and backdrop-filter: blur()?
Why is -webkit-backdrop-filter included?
Page last updated . Found a wrong result or a mistake on this page? Let us know.
Related tools
Regex Builder
Build a regular expression from blocks, with live matches.
SQL Formatter
Put each SQL clause on its own line, or minify to one line.
JSON to YAML Converter
Convert JSON to YAML and back, with clear error locations.
Chmod Permissions Calculator
Work out chmod values from checkboxes, octal or ls -l strings.