Tool

Glassmorphism generator

Seven sliders, four modes, six backdrops. Nudge things until the glass feels right, then copy the code. It comes with the Safari prefix and a fallback already written.

Frosted glass

Blur what is behind. Keep what matters sharp.

Button
12px
15%
30%
24px
32px
20%
140%

What each control does

ControlRangeWhat it changes
Blur0–30pxHow soft the background looks through the glass
Background opacity0–100%How milky the panel is. Lower shows more of what is behind
Border opacity0–100%The bright edge that makes glass read as glass
Border radius0–50pxCorner roundness
Shadow blur0–80pxHow far the panel seems to float
Shadow opacity0–100%How strong that lift is
Saturation50–200%Boosts the colours behind the glass so they stay lively when blurred

The four modes

  • None: a plain translucent panel with no blur. Handy for comparison, or for browsers where you want to skip the effect.
  • Frosted: the classic. A white tint, a blur and a light border.
  • Dark Glass: a deep navy tint for dark interfaces. Text switches to white.
  • Mirror: a diagonal sheen and an inner highlight, like polished glass catching the light.

Using the code

  1. Hit Copy CSS and paste it into your stylesheet.
  2. Hit Copy HTML for a starter element, or add class="glass" to your own.
  3. Put something colourful behind it. Glass over a flat colour is just a grey box.

The CSS includes -webkit-backdrop-filter for Safari and an @supports fallback that swaps in a solid, readable background where blur is missing. More in backdrop-filter browser support. New to the style? Start with what glassmorphism actually is.

FAQ

Yes. Whatever you generate is yours, no credit needed.

The PNG is drawn on a canvas. A few browsers cannot blur on canvas, so the card may export without blur there.

Yes, on your device. Hit Reset to start fresh.

More tools

Partner with us

Show your product to people who love pretty pixels

We take a few clearly labelled sponsored links, featured tool spots and newsletter mentions for design tools, UI kits, fonts, wallpapers and privacy gear. If it makes screens nicer, say hi.

One email a month. No spam, unsubscribe any time.