How to use the Glassmorphism CSS Generator
- Adjust blur, transparency, saturation and border.
- Pick a tint colour and corner radius.
- Copy the CSS into your stylesheet.
What does this tool do?
Glassmorphism uses a semi-transparent background with backdrop-filter: blur() so whatever is behind the element shows through softly, like frosted glass. A faint light border sells the effect.
The CSS includes the -webkit- prefix for Safari. It works best over colourful backgrounds or images.
Why use it?
- Live preview.
- Safari-ready CSS.
- Tint and saturation control.
Use cases
- Hero cards and sign-up panels on landing pages.
- Overlays on photos and video backgrounds.
- Dashboard widgets with a modern, layered look.
The core of the effect
background: rgba(255, 255, 255, 0.15);
backdrop-filter: blur(12px) saturate(160%);
border: 1px solid rgba(255, 255, 255, 0.3);
Put it over a colourful gradient or photo — over a plain background there's nothing to blur.
Common mistakes
- Low text contrast on a see-through background — check readability over the busiest part of the image.
- Stacking many blurred layers, which can slow down phones.
- Forgetting a solid fallback colour for browsers without backdrop-filter.
Accuracy and limits
- Check text contrast on glass surfaces — light text on a pale blurred background can be hard to read.
Privacy
The calculation happens instantly in your browser. The numbers you enter are not sent to our servers or saved. There's no account to create and nothing to install.
Frequently asked questions
Does it work in Safari?
Yes — the CSS includes the -webkit-backdrop-filter prefix.
Why can't I see the blur?
Something colourful has to be behind the element; the blur only affects what shows through.
How much blur looks good?
Usually 8–20 px. More than that turns the background into a flat wash.
Content last updated . See how M2Toolkit works.