Free tool
Glass generator
Tune blur, saturation, tint, border and grain over colourful backdrops, then copy a frosted surface that holds up anywhere.
Presets
Backdrop filter
Surface
Backdrop
Frosted glass
Drag me over the backdrop
Blur and saturation bend whatever sits behind the card. Tint, border and highlight give it an edge.
background-color: rgba(255, 255, 255, 0.14);
backdrop-filter: blur(18px) saturate(160%);
-webkit-backdrop-filter: blur(18px) saturate(160%);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 28px;
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 12px 40px rgba(0, 0, 0, 0.18);
How the glass generator works
Glassmorphism uses backdrop-filter to blur and saturate whatever sits behind a translucent surface. Tune the blur, tint, border and inner highlight against several backdrops to check the effect holds up, then copy the CSS.
- How do you make a frosted glass effect in CSS?
- Give the element a semi-transparent background colour and backdrop-filter: blur(16px) saturate(160%), plus a thin light border. The blur only shows when there is colourful content behind the element.
- Is backdrop-filter supported in all browsers?
- Yes. backdrop-filter works in all current versions of Chrome, Edge, Firefox and Safari. Safari still benefits from the -webkit-backdrop-filter prefix, which the generated CSS includes.
More from the workshop
Gradient Generator
Linear, radial and conic gradients with draggable stops. Copy as CSS or Tailwind.
Shadow Generator
Stack soft, layered box-shadows that look like real light. Copy as CSS or Tailwind.
Spring Playground
Feel stiffness, damping and mass before you ship. Copy a Motion transition or a CSS linear() easing.
Theme Builder
Pick a brand colour and radius, preview real components, and copy shadcn-compatible CSS variables.