We use essential cookies to make this site work. Optional analytics cookies help us improve your experience. Privacy Policy
CSS Glassmorphism Generator
Free CSS glassmorphism generator. Design frosted-glass panels with backdrop blur, opacity, saturation, and tint. Live preview and copy-ready CSS.
How to use
Pick Tint and Background — Background controls the colourful surface; tint controls the glass colour.
Adjust Blur and Opacity — Blur creates frosted depth; opacity sets how transparent the glass looks.
Tune Saturation, Radius, Border — Boost saturation for vibrancy; set rounded corners and a subtle border for definition.
Copy CSS — Paste the production-ready glassmorphism CSS into your stylesheet.
Free CSS Glassmorphism Generator
Create modern frosted-glass UI panels with live preview. Adjust blur, opacity, saturation, tint, and border in real time. Copy production-ready CSS with vendor prefixes.
What Is Glassmorphism?
Glassmorphism is a UI design trend popularised by macOS Big Sur and Microsoft Fluent that uses translucent backgrounds with a backdrop blur to create the illusion of frosted glass. It adds depth and hierarchy without heavy shadows.
How It Works in CSS
The effect requires three CSS properties working together:
background: a semi-transparent colour (alpha 0.1–0.4)
backdrop-filter: blur(): blurs whatever is behind the element
border: a subtle 1px white/colour border for definition
Accessibility Notes
Always check text contrast against the actual blurred background — not against the glass colour alone. Use our Color Contrast Checker to verify WCAG AA compliance.
Privacy
All preview, color math, and code generation happen locally.
A UI style introduced by Apple's macOS Big Sur and Microsoft's Fluent Design that simulates frosted glass — a translucent layer that blurs the colourful content behind it.
Does backdrop-filter work everywhere?
It works in all modern browsers (Chrome, Edge, Safari, Firefox 103+). Always include the -webkit- prefix for older Safari versions.
Why does my glass look opaque?
Glassmorphism needs a colourful background behind the glass — flat white walls show no blur. Place vibrant shapes, gradients, or photos behind the glass element.
Is this accessible?
Glass elements can have low contrast. Test text contrast against the actual blurred background using a contrast checker — aim for WCAG AA 4.5:1.