How to use the glass effect generator
- Set blur, opacity, saturation and corner radius.
- Pick a tint color.
- Copy the CSS onto an element with something behind it.
Readability and performance
Text over glass changes contrast as content moves behind it, so test the worst case and raise opacity if needed. Large blurred areas can be costly on low-end devices.
Frequently asked questions
Why do I see no effect?
backdrop-filter needs a partly transparent background and visible content behind the element.
Is the -webkit- prefix needed?
Some Safari versions need it, so the output includes it.
Should I respect reduced transparency?
Yes. Provide a solid background for people who ask for less transparency.