Glassmorphism Generator
Create frosted glass cards with live sliders for blur, transparency, saturation and border. Copy clean CSS or Tailwind. Free, no signup.
Frosted Glass Card
Drag the sliders - this panel re-renders live with your exact CSS.
Glass
Colors
.glass-card {
background: rgba(255, 255, 255, 0.18);
border-radius: 24px;
border: 1px solid rgba(255, 255, 255, 0.40);
-webkit-backdrop-filter: blur(14px) saturate(160%);
backdrop-filter: blur(14px) saturate(160%);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}About the glassmorphism generator
Glassmorphism is the frosted glass look popularised by macOS Big Sur and Windows Acrylic: a translucent panel that blurs whatever sits behind it, edged with a faint highlight. It works because the blur separates the panel from the background while still letting colour bleed through, so the layer reads as glass rather than a flat overlay.
The effect is built from four things working together: a semi-transparent fill, a backdrop-filter blur, a raised saturation so the colours behind stay vivid, and a one-pixel light border along the edge. Drop any one of them and it stops looking like glass. This generator exposes all four so you can tune them against a real gradient instead of guessing.
How to use it
- 1Pick a preset to start from, or begin with the defaults.
- 2Set the blur. Ten to twenty pixels reads as glass; beyond thirty the background turns to mush.
- 3Adjust transparency. Around fifteen to twenty percent keeps the panel readable without looking solid.
- 4Raise saturation slightly, usually 150 to 180 percent, so colours behind the glass stay rich.
- 5Set the border strength. A faint white edge is what sells the illusion of a physical pane.
- 6Copy the CSS, or switch to the Tailwind tab for utility classes.
Worth knowing
- backdrop-filter needs something behind it to blur. Over a flat colour the effect is invisible, so place the card over an image or gradient.
- Safari requires the -webkit-backdrop-filter prefix, which is included in the exported CSS.
- Backdrop blur is GPU work. A handful of glass panels is fine; forty of them in a scrolling list will drop frames on mid-range phones.
Questions
Why is my glass effect not showing?
Almost always because there is nothing behind it to blur. backdrop-filter samples the pixels underneath the element, so over a solid background there is nothing to see. Put the card over an image, a gradient, or overlapping content.
Does glassmorphism hurt accessibility?
It can. Text over a translucent panel sits on whatever is behind it, so contrast changes as the background changes. Keep the fill opacity high enough that text stays above a 4.5:1 contrast ratio in the worst case, and check it with the contrast checker in the design tools.
Is backdrop-filter supported everywhere?
Yes in every current browser, including Safari with the -webkit- prefix. Older browsers simply ignore it and show the semi-transparent fill, which degrades acceptably.