Glassmorphism Generator
Visual builder for frosted-glass cards. Sliders for blur, opacity, saturation, border — copy CSS or Tailwind.
Frosted
The glass effect previews live.
Tune blur, opacity, and saturation below.
background: rgba(255, 255, 255, 0.60); backdrop-filter: blur(14px) saturate(1.40); -webkit-backdrop-filter: blur(14px) saturate(1.40); border: 1px solid rgba(255, 255, 255, 0.20); border-radius: 20px;
bg-[rgba(255,255,255,0.60)] backdrop-blur-[14px] backdrop-saturate-[140%] border border-white/[0.20] rounded-[20px]
01 — Overview
How the Glassmorphism Generator works
A live workbench for glassmorphism. Adjust backdrop blur, background opacity, saturation, border, and corner radius and see the result on a sample card over a colorful backdrop. Export as CSS or Tailwind classes.
02 — Use cases
When to use the Glassmorphism Generator
- 01
Build a glass nav bar that floats over a hero image
- 02
Get the right blur amount for a frosted modal backdrop
- 03
Translate a Figma glass card into production-ready CSS
- 04
Test how a glass treatment reads in light and dark mode
03 — Examples
Glassmorphism Generator examples
blur 12px, opacity 60%, saturation 140%
ex 01background: rgba(255,255,255,0.6); backdrop-filter: blur(12px) saturate(1.4);
A typical glass card surface.
tinted glass over dark hero
ex 02background: rgba(20,20,30,0.5); backdrop-filter: blur(20px) saturate(1.2); border: 1px solid rgba(255,255,255,0.08);
Darker glass with a hairline highlight border for a clear edge.
Tailwind output for a light glass card
ex 03backdrop-blur-xl bg-white/60 saturate-150 border border-white/20 rounded-2xl
The same treatment expressed in utility classes rather than raw CSS.
frosted modal backdrop
ex 04background: rgba(10, 10, 12, 0.4); backdrop-filter: blur(24px);
Heavier blur and a dark tint, so the modal content stays the focal point.
04 — FAQ
Glass — frequently asked questions
Why doesn't backdrop-filter work in my browser?
Does glassmorphism work over solid backgrounds?
What's a good starting point for blur and opacity?
Why is nothing blurring behind my element?
Why does the blur spill past the rounded corners in Safari?
Is glassmorphism accessible?
05 — Reference
Specs and further reading
The primary sources this tool follows. Where behaviour is defined by a specification, we link the specification rather than a summary of it.
- backdrop-filter
MDN Web Docs — The property that produces the frosted-glass blur, plus its browser support notes.
- Filter Effects Module Level 1
W3C — Defines the filter functions that backdrop-filter accepts, including blur() and saturate().
- Understanding SC 1.4.3: Contrast (Minimum)
W3C WAI — Why translucent surfaces need contrast checking against the worst-case backdrop.
07 — More
Tools that pair with Glass
CSS Box Shadow Generator
Build CSS shadows with sliders for offset, blur, spread, color, and opacity. Live preview, multi-shadow stacking, copy as CSS or Tailwind.
CSS Gradient Generator
Build linear and radial gradients visually. Pick stops, angle, and direction; copy as CSS or Tailwind arbitrary value.
Color Palette Generator
Type a vibe — 'desert at dusk', 'cyberpunk lab' — and get a 5-color palette with hex, RGB, HSL, and OKLCH for every swatch.