Glassmorphism CSS generator

Glassmorphism is a frosted glass style made from a translucent background, a backdrop-filter blur and a faint border.

How to use the glass effect generator

  1. Set blur, opacity, saturation and corner radius.
  2. Pick a tint color.
  3. Copy the CSS onto an element with something behind it.

Readability and performance

Text over glass changes contrast as content moves behind it, so test the worst case and raise opacity if needed. Large blurred areas can be costly on low-end devices.

Frequently asked questions

Why do I see no effect?

backdrop-filter needs a partly transparent background and visible content behind the element.

Is the -webkit- prefix needed?

Some Safari versions need it, so the output includes it.

Should I respect reduced transparency?

Yes. Provide a solid background for people who ask for less transparency.

Related tools