CSS Glassmorphism (Frosted Glass) Generator
Create CSS frosted glass with backdrop-filter blur, saturation, tint opacity and border opacity controls. Live preview and copy-ready CSS in your browser.
Glass card
Frosted glass with backdrop blur
Text contrast depends on what is behind the panel.
Glass settings
background: rgba(255, 255, 255, 0.15);
-webkit-backdrop-filter: blur(14px) saturate(160%);
backdrop-filter: blur(14px) saturate(160%);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);Technical Specification & Mathematical Principles
How the Glassmorphism Generator Works
Glassmorphism combines a translucent background, a blur of whatever sits behind the element and a thin light border. The core is backdrop-filter: blur(Npx) saturate(S%), which filters the pixels behind the element rather than its own content. Saturation boosts the muted colors that blur produces.
The background must be semi-transparent (for example rgba(255, 255, 255, 0.15)) or the blur is invisible. A 1px border with 20 to 40% white opacity simulates a glass edge. Add the -webkit-backdrop-filter prefix for Safari. Keep contrast in mind: text on glass over busy images can fail WCAG, so test it.
Frequently Asked Questions
Why is my backdrop-filter not working?
Does backdrop-filter hurt performance?
Is text on glass accessible?
Related Design & Color Instruments
Neumorphism Generator
Create soft UI neumorphism CSS with light and dark shadow offsets, blur, intensity and flat, concave, convex or pressed shapes. Live preview and copy.
Claymorphism Generator
Generate puffy 3D claymorphism CSS using dual outer and dual inset box-shadows. Adjust depth, blur, intensity and radius with a live preview.
Mesh Gradient Generator
Build a CSS mesh gradient by dragging color points on a canvas. Layered radial-gradient output with adjustable spread and copy-ready code, all in your browser.
WCAG Contrast Checker
Audit foreground and background color contrast ratios against WCAG 2.1 & 2.2 AA/AAA standards. Instant client-side W3C relative luminance calculator.