Search tools

Glassmorphism Generator

Tune a frosted-glass card over a colourful background and copy the backdrop-filter CSS.

Glassmorphism Generator tool

Contrast tip: text on glass changes with whatever scrolls behind it. Keep transparency low enough that the text stays readable over the brightest and darkest parts of your background.

Frosted glass The blur only shows what is behind this card.

backdrop-filter works in all current browsers. The -webkit- line is still needed for Safari before version 18.

Processing runs in your browser.

Glassmorphism is the frosted-glass look used across macOS, Windows and iOS: a semi-transparent panel that blurs whatever sits behind it. It adds depth without heavy shadows and lets a background image or gradient show through. The effect depends on just a few CSS properties, but the balance between them is what makes it look good, and that is easiest to judge by eye.

What each setting does

  • Blur sets how much the background is softened. 8–16px is the usual range; above 24px the glass looks almost opaque.
  • Transparency is the opacity of the tint. Around 15–30% keeps the background visible while giving text a calmer surface.
  • Saturation boosts the colours that show through, which keeps glass from looking grey. Apple-style panels often use about 180%.
  • Border adds a thin, light outline. It defines the edge on busy backgrounds where the blur alone can look smudged.

Where it works well

  • Navigation bars that stay on top of scrolling content.
  • Login or sign-up cards over a hero photo.
  • Music players, dashboards and widgets over wallpaper-style backgrounds.

Where to avoid it

Long reading areas and dense tables are better on solid backgrounds, as moving content behind text makes it harder to read. If a design must work without blur, for example when a user turns on reduced transparency in their system settings, choose a tint opaque enough to be readable on its own.

How to use the Glassmorphism Generator

  1. Drag Blur to set how frosted the glass looks.
  2. Set Transparency and Saturation, and pick a tint colour.
  3. Switch the background behind the card to test it on busy and dark scenes.
  4. Turn the light border on or off.
  5. Click Copy CSS and add the class to your card.

Features

  • Live backdrop-filter: blur() saturate() preview.
  • Includes the -webkit-backdrop-filter line for older Safari.
  • Any tint colour, with transparency from 0 to 100%.
  • Four test backgrounds: colour blobs, gradient mesh, stripes and dark.
  • Optional light border and soft shadow for a crisp edge.

Frequently asked questions

Why doesn’t the blur show up on my site?

backdrop-filter only blurs what is behind the element. If the area behind your card is a flat colour, there is nothing to blur. Put the card over an image, a gradient or other content, and make sure its background is partly transparent.

Which browsers support backdrop-filter?

All current versions of Chrome, Edge, Firefox and Safari support it. Safari before version 18 needs the -webkit- prefix, which the generated CSS already includes.

Is glassmorphism accessible?

It can be, with care. Text contrast changes as content moves behind the glass, so check your text against the brightest and darkest parts of the background. Lower transparency and a stronger blur both help.

Does backdrop blur slow down a page?

Blurring is done by the graphics card and is fine for a few elements. Large blurred areas over video or constantly animating content can drop frame rates on low-end phones, so use it sparingly.

Written by