Glassmorphism Generator

This free glassmorphism generator builds the frosted-glass backdrop-filter effect with a live preview over a colorful background — tune blur, saturation, tint, border, and shadow, then copy the CSS with the -webkit-backdrop-filter prefix for Safari.

Presets:

Blur & saturation

Blur

Saturate

Background tint

Tint color

Tint opacity

Border

Width

Color

Opacity

Radius

Shadow

Blur

Spread

Opacity

Live Preview Over a colorful gradient background
DR

Glass card

This panel demonstrates the frosted-glass effect over a colorful background — drag the sliders on the left to see how blur, tint, and border change it.

· tint · border

CSS

Frequently asked questions

Glassmorphism is a UI style that mimics frosted glass: a semi-transparent, tinted background blurred with backdrop-filter: blur(), usually paired with a light border and a soft shadow so the panel looks like it's floating above whatever is behind it. It became popular after Apple's macOS Big Sur and iOS design language leaned on the effect for cards, sidebars, and modals.
The core property is backdrop-filter: blur(Npx), which blurs whatever is rendered behind the element rather than the element itself. Add saturate() to the same filter to keep the blurred colors vivid instead of washed out, a semi-transparent background color for the tint, a subtle border for definition, and a box-shadow for lift — for example backdrop-filter: blur(12px) saturate(180%); background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3);
Safari (desktop and iOS) historically required the -webkit- prefixed version of backdrop-filter alongside the unprefixed property, and some older Safari releases still need it. Always declare both, with -webkit-backdrop-filter first and the unprefixed backdrop-filter second, which is exactly what this generator outputs.
backdrop-filter has good support in current Chrome, Edge, Safari, and Firefox, but it's not universal — older Firefox releases shipped it behind a flag, and very old browsers don't support it at all. Test your glass panels on real devices and provide a solid-background fallback (a plain semi-transparent color with no blur) for browsers where the property is unsupported, so content stays readable either way.
backdrop-filter only blurs content that is actually behind the element — if the element is on a solid, uncluttered background, or the parent stacking context clips it, there's nothing visible to blur. Make sure the element sits above an image, gradient, or other content, that the parent doesn't have overflow: hidden cutting off the blur region, and that the background color's alpha isn't 0.
Used carefully it can be, but low background opacity plus a busy image behind it easily fails text-contrast requirements. Keep tint opacity high enough (generally 15–30% or more) that text stays legible over any background, test with the WCAG contrast ratio in mind, and reserve heavy blur-and-transparency combinations for decorative panels rather than dense body copy.
Common use cases are dashboard cards and stat widgets floating over a colorful background, modal and dialog overlays, sidebars and navigation bars that stay legible over scrolling content, login and pricing cards, and macOS/iOS-style control panels. It works best over a gradient, photo, or other visually rich background — it adds little on a flat solid color.