Create the frosted-glass glassmorphism effect with CSS. Adjust the blur, fill opacity, saturation, tint, border and corner radius, and see the card over a colorful backdrop as you go. The output includes the -webkit- prefix Safari needs. It's free, runs entirely in your browser, and nothing is uploaded.
| Setting | Subtle | Strong |
|---|---|---|
| Blur | 6–10px | 16–24px |
| Fill opacity | 10–15% | 25–35% |
| Border opacity | 15–20% | 30–40% |
| Saturate | 120% | 180% |
backdrop-filter needs two things: a translucent background on the element, and something colorful behind it. On a plain white page, there's nothing to blur.
Yes, in all current browsers. Safari needs -webkit-backdrop-filter, which the output includes.
It can be, but text contrast changes with whatever is behind the glass. Check it over your real content, and increase the fill opacity if text gets hard to read.
Backdrop blur costs more than ordinary styles, especially over video or animation. Use it on a few elements, not hundreds.
No. The CSS is generated in your browser.
Glassmorphism relies on backdrop-filter, which applies a filter to whatever is painted behind an element rather than to the element itself. A frosted card is a blur of the backdrop seen through a translucent fill, usually white at 10–30% opacity, with a slightly brighter one-pixel border to catch the edge and an optional soft shadow to lift it. Adding saturate() to the backdrop filter keeps colors behind the glass from looking washed out. The generator converts the tint and opacity into an rgba() background and writes backdrop-filter together with -webkit-backdrop-filter, which Safari still requires. The effect is invisible if the element's background is opaque or there's nothing colorful behind it, which is the most common reason it appears not to work, so the preview sits on a gradient backdrop. Text on glass changes contrast as the background moves, so check it over the real content.