Glassmorphism Generator
Design a frosted-glass card with live sliders for blur, opacity, radius, and border, previewed over a real gradient, then copy the CSS. Runs entirely in your browser.
🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.
Glassmorphism
Frosted-glass card preview
CSS
How it works
- Adjust blur, fill opacity, border radius, and border opacity with the sliders.
- The preview card updates live over a colorful gradient background so the blur effect is visible.
- Copy the generated CSS and apply it to any element sitting over a busy or colorful background.
FAQ
What CSS property creates the frosted-glass effect?
backdrop-filter: blur(), which blurs whatever is behind the element rather than the element itself — combined with a semi-transparent background color, it produces the "frosted glass" look.
Is backdrop-filter supported everywhere?
It has broad support in modern Chrome, Safari, Edge, and Firefox (Firefox added it in 2022) — always include the -webkit- prefixed version for older Safari.
Why does the effect need something colorful behind it?
Backdrop blur only affects content behind the element — over a flat white or single-color background, the blur has no visible effect since there's nothing textured to blur.
Is my design sent anywhere?
No — the CSS is generated and previewed entirely client-side as you move the sliders.
How we compare
| Feature | Online Tool Store | glassmorphism.com | Hand-written CSS |
|---|---|---|---|
| Live preview over a real gradient | ✓ | ✓ | ✗ |
| No sign-up | ✓ | ✓ | ✓ |
| Includes -webkit- prefix automatically | ✓ | ✓ | ✗ (easy to forget) |
If you want a frosted-glass card without tuning four CSS properties by trial and error, drag the sliders until it looks right and copy the result.