Glassmorphism Generator
Frost a card over a colorful background.
backdrop-filter blurs whatever is behind the element. The card also needs a partly transparent background, or the blur has nothing to show through. Give the parent a busy background or the glass looks like a flat gray box.
Frequently asked questions
What if backdrop-filter is unsupported?
The translucent background still shows. The blur is the extra. Current desktop and mobile browsers support it.
Does the blur cost anything?
Yes. A large blurred area is more work for the GPU. Keep it on cards, not on the whole page.