Design a frosted glass card with live controls, then copy the CSS or Tailwind classes.
background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 16px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
bg-[#FFFFFF]/20 backdrop-blur-[16px] backdrop-saturate-[1.6] border border-white/30 rounded-[16px] shadow-[0_8px_32px_rgba(0,0,0,0.12)]
Glassmorphism stacks three things on one element:
backdrop-filter: blur() blurs whatever sits behind the element, which is what makes it look frosted. Adding saturate() keeps the colors from looking washed out.The effect needs something to blur. Put glass panels over gradients, photos or bold shapes. On a plain white page it just looks gray.
Give the element a semi-transparent background, like rgba(255, 255, 255, 0.2), and add backdrop-filter: blur(16px). The blur only shows when there's something colorful behind the element. A thin light border makes the edge read as glass.
Combine a background with opacity, like bg-white/20, with backdrop-blur-md and a light border such as border border-white/30. The generator above writes the exact classes for your settings.
Yes, all current browsers support it. Safari needed the -webkit-backdrop-filter prefix until version 18, so the CSS output includes both.
Blurring what's behind an element costs more than a plain background, especially over video or while scrolling. One or two glass panels are fine. Dozens of them, or very high blur values on large areas, can make scrolling choppy on slower phones.
It can fail contrast checks, because the background changes with whatever is behind it. Use a stronger tint, more blur or a darker scene so text stays readable at 4.5:1 or better.