Glassmorphism CSS Generator
Set the tint colour, opacity, blur, saturation and border to get a frosted-glass card, including the -webkit-backdrop-filter prefix.
Set the tint colour, opacity, blur, saturation and border to get a frosted-glass card, including the -webkit-backdrop-filter prefix.
Glassmorphism is a style where a translucent panel blurs whatever sits behind it, like frosted glass. It relies on the backdrop-filter property plus a semi-transparent background and a light border.
Set the values and copy the CSS. The output includes the -webkit- prefix that Safari has needed. There is no live preview here, because the blur depends on what is behind your element; test it on your own background.
background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(12px) saturate(150%);
Backdrop-filter blurs what is behind the element. Over a plain white page there is nothing to blur. Put the element over an image or gradient.
Current Chrome, Edge, Safari and Firefox support it. Very old browsers ignore it and show only the translucent colour, so keep text readable.
Large blurs over big areas can be costly, especially on low-end phones. Keep the area and blur radius modest.
Check contrast against the real background. Raise the tint opacity if text gets hard to read.
The tool needs the red, green and blue values to build the rgba() colours, so it accepts HEX only.