What this tool does
The Glassmorphism Generator lets you design a frosted-glass UI card visually — adjust blur, transparency, saturation, border, radius, and shadow — and copy the matching CSS or Tailwind classes. A live preview shows the effect over a colourful gradient so you can judge it in context.
How it works
The tool builds a translucent rgba() background plus a backdrop-filter: blur() saturate() rule (with the -webkit- prefix for Safari), a soft border, rounded corners, and a drop shadow. The logic is a pure function, so the same settings always produce the same CSS.
Accessibility note
Frosted glass can reduce text contrast. Keep enough opacity behind text and test against WCAG contrast guidance so your content stays readable.
Privacy
Everything runs locally in your browser. Nothing you configure is uploaded, logged, or stored.