DevKits

Glassmorphism Generator — CSS Frosted Glass Effect Builder

Design frosted-glass CSS effects (glassmorphism) — semi-transparent background + backdrop-filter blur + subtle border and shadow. Live preview on a colorful gradient, copy production-ready CSS with Safari prefix. 100% local.

Last updated:

Comments

Glassmorphism

Frosted glass on colorful backgrounds

CSS
background: rgba(255, 255, 255, 0.25);
-webkit-backdrop-filter: blur(12px) saturate(180%);
backdrop-filter: blur(12px) saturate(180%);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 16px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

Frequently Asked Questions

Why does the effect need both backdrop-filter and -webkit-backdrop-filter?

Safari still requires the -webkit- prefix for backdrop-filter. Chrome, Edge, and Firefox use the unprefixed property. The generated CSS writes both to keep glass panels working across every major browser.

What element is behind the glass? Does it need to be scrollable?

backdrop-filter blurs whatever sits behind the element in the same stacking context. Any background works — a gradient, an image, or a scrolling parent. If you don't see the effect, check that the glass panel has a semi-transparent background (opacity < 1); a fully opaque background hides the blur entirely.

Does Firefox support backdrop-filter?

Yes since Firefox 103 (July 2022). Older Firefox versions ignore the property and just render the semi-transparent background — a graceful degradation.

Related Tools