Frosted glass is a translucent fill plus a blur of whatever is behind the element. The page writes a .glass rule: the base color at the opacity you set, a 1px white border at 28% strength, and backdrop-filter with the matching WebKit prefix. The opening values are #427f9c at 20% opacity, a 12px blur, and an 8px radius, which comes out as background rgba(66, 127, 156, 0.2) and blur(12px).
If the element sits on a flat empty section, the blur has nothing to blur and the card looks like a pale tint. Put a photo, a gradient, or busy content behind it. Heavy blur is also expensive on large areas and on low-power screens. A 12px blur on a small card is the effect. A 80px blur on a full-viewport panel is a battery cost.
The fill is see-through, so text contrast depends on the page behind, not only on the base color. Check the contrast of the label against the worst background that can scroll under the card. The snippet does not set a text color.
Base #427f9c, opacity 20%, blur 12px, radius 8px.
.glass { background: rgba(66, 127, 156, 0.2); border-radius: 8px; border: 1px solid rgb(255 255 255 / 28%); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.
Backdrop blur only changes pixels behind the element. On a solid empty section there is nothing to frost. Move an image or a gradient underneath.
No. You choose it. Because the fill is translucent, measure contrast against the content that can appear behind the card.
backdrop-filter is the standard. The WebKit-prefixed line covers browsers that still want the prefix. Keep both.
No. Blurring a big area every scroll is real work for the GPU. Keep the effect on small chrome, not on the whole page.
Opacity alone tints what is behind. The blur is what turns that content into frost. Without the filter you just have a colored veil.