CSS Glassmorphism Generator
Create frosted-glass effects with backdrop-filter, transparency and borders. Adjust blur, saturation and opacity. Live preview and copy-ready CSS. Everything in your browser.
What is glassmorphism?
Glassmorphism is a visual style that imitates frosted glass: a translucent fill, a soft blur of whatever sits behind the panel (backdrop-filter: blur()) and a faint border. macOS Big Sur and Windows 11 are what pushed it into the mainstream.
It works best over colorful backgrounds or photos — on a flat, solid background the effect is close to invisible. Pair it with backdrop-filter: saturate() to punch up the colors showing through.
Browser support: modern browsers only. Safari needs the prefixed -webkit-backdrop-filter as well.
Create the frosted-glass effect (glassmorphism)
Glassmorphism, that translucent frosted-glass look Apple and Microsoft helped make popular, lends cards and panels a modern feel. Recreating it in CSS means pulling together transparency, background blur and subtle borders, and that's exactly the part this generator handles visually.
Move the blur (the backdrop-filter), the saturation, the opacity and the borders around, and the effect shifts in real time over a sample background. Once it looks the way you pictured it, one click copies the finished CSS, with the right properties to work across browsers.
It runs in the browser, nothing to install. It ends up being a quick route into one of the most distinctive interface trends of recent years, no memorising the backdrop-filter syntax required.
Frequently asked questions
Why does the effect vanish when I apply the CSS over a white background?
What exactly goes into the copied CSS, and what is left out?
Do the base colour and the background opacity slider do the same thing?
Related Tools
CSS Gradient Generator
Create linear and radial CSS gradients with real-time preview. Adjust colors, positions and angle. Copy the CSS code with one click.
Mesh Gradient Generator
Create modern mesh gradients by combining multiple radial-gradients. Add, remove and drag points to compose vibrant backgrounds Stripe/Linear style. Everything in your browser.
CSS Button Generator
Create custom CSS buttons: color, text, padding, border-radius, shadow and hover. Live preview and ready-to-copy HTML+CSS. Everything in your browser.
CSS Box Shadow Generator
Create CSS box shadows with real-time preview. Configure multiple shadow layers, color, blur, spread and inset. Copy the CSS code.
CSS Neumorphism Generator
Create Soft UI (neumorphism) effects with two complementary box-shadows. Adjust base color, distance, blur and type (raised, flat, pressed). Copy ready CSS. Everything in your browser.
CSS Clamp Calculator
Generate CSS clamp() values for fluid typography and spacing. Enter minimum/maximum sizes and viewport widths to get a ready-to-paste clamp() function.