Glassmorphism Generator
Make frosted-glass CSS (backdrop-filter) over shapes, a photo or your own image. Copy CSS or Tailwind.
background: rgba(255, 255, 255, 0.2); border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); -webkit-backdrop-filter: blur(12px) saturate(180%); backdrop-filter: blur(12px) saturate(180%); color: #0f172a;
Presets
Glass
Text
Auto picks dark text from the tint and the backdrop.
Glassmorphism Generator FAQ
How do I make a glassmorphism effect in CSS?
Give the element a semi-transparent background such as rgba(255, 255, 255, 0.2), add backdrop-filter: blur(12px), a thin light border and a soft shadow. Place it over a colourful or detailed background, set it up here and copy the CSS.
Does glassmorphism work in all browsers?
Yes in current browsers: Chrome, Edge, Firefox (version 103 and later) and Safari all support backdrop-filter, and older Safari needs the -webkit- prefix that the code includes. In a browser without support the panel still shows its translucent tint, just without the blur.
Why is my backdrop-filter blur not working?
Usually the background is fully opaque, or there is nothing detailed behind the element, so the blur has nothing to soften. Lower the tint opacity and put the panel over an image or shapes. Check also that no parent clips the area the panel sits on.
What does saturate do in a glass effect?
saturate() makes the colours behind the glass richer after they are blurred, which gives the bright, Apple-style look. 100% leaves colours as they are, and 150% to 200% is typical. Set Saturation to 100% to leave it out of the code.
Which text colour should I use on a glass card?
Use dark text on light, bright glass and white text on dark glass. Auto picks the one with more contrast against the tint laid over the backdrop. On a busy photo, raise the tint opacity or blur so the text stays readable.
Is my backdrop image uploaded?
No. Your image is opened in your browser only, to show behind the preview, and is never sent anywhere. It is released when you choose another or leave the page.