Create frosted glass CSS with blur, tint, border and shadow controls, presets, a live preview and help when the effect looks flat.
Initializing in your browser…
Build Flexbox and Grid layouts by adjusting real boxes, with presets, per-item controls, warnings for settings that do nothing, and CSS that matches the preview.
Design linear, radial and conic CSS gradients with live preview, vivid colour-space blending, and CSS or Tailwind code to copy.
Design layered CSS box shadows with live preview on light or dark, twelve presets, inset shadows, and a box-shadow line to copy.
You want a frosted card over a colourful hero image, light enough to see the colours through and solid enough to read.
Preset
Frosted: blur 16px, saturation 120%, background opacity 30%, border opacity 30%
The CSS the tool writes
.glass {
background: rgb(255 255 255 / 0.3);
-webkit-backdrop-filter: blur(16px) saturate(120%);
backdrop-filter: blur(16px) saturate(120%);
border: 1px solid rgb(255 255 255 / 0.3);
border-radius: 16px;
box-shadow: 0 8px 40px 0 rgb(0 0 0 / 0.1);
}The 16-pixel blur softens the image behind the card, and saturate(120%) keeps its colours lively through the blur. The white background at 30% gives the card its tint, the 1-pixel border at 30% white catches the edge, and the shadow lifts it slightly. If the card looks flat once it is on your page, check its ancestors for a filter, opacity below 1 or a mask, which stop backdrop-filter from seeing the image.
Create frosted glass CSS for cards, panels and navigation bars. Adjust the blur, tint, saturation, border and shadow, see the result over colourful backgrounds, and copy CSS with the Safari prefix included. The page also explains why the effect can look flat on a real site, and how to fix it.
The ingredients. Glassmorphism is a translucent panel that blurs whatever sits behind it. Four properties do the work: backdrop-filter blurs and saturates the content behind the panel, a semi-transparent background gives it a tint, a thin light border catches the edge, and a soft shadow lifts it off the page. Each has its own slider here, and every one can be set to zero.
Presets. Subtle, Frosted, Bold, Dark, Colorful, Minimal, No blur and Sharp are starting points for common looks; a dark tint, for instance, suits glass on a light background. Randomize tries combinations for you. Colours accept any CSS notation, including names, rgb(), hsl() and eight-digit hex with its own transparency.
Why it can look flat on your page. The most common surprise is CSS that looks right in a generator and does nothing in a real layout. It is rarely browser support: backdrop-filter only blurs what is inside its backdrop root, and an ancestor with a filter, opacity below 1, a mask, will-change on certain properties, or contain: paint starts a new one, leaving nothing behind the panel to blur. The page lists these causes so you can find the culprit. A plain single-colour background also gives the blur nothing to show.
Readable glass. Text on glass changes with whatever is behind it. Use enough blur and tint for the busiest background your panel will sit over, and keep important text large and high-contrast. The generated CSS includes the -webkit- prefixed line Safari needed before version 18, then the standard property, and a short note on what each line does.
Use the Frosted preset on a sticky header so page content blurs as it scrolls underneath.
Choose Dark for a black tint, which reads as glass over white and pale backgrounds.
Use Bold over a vivid gradient so the text stays readable however the colours shift behind it.
Usually an ancestor of the panel has a filter, opacity below 1, a mask, will-change or contain: paint, which leaves nothing behind the panel to blur. A plain single-colour background also shows no visible blur.
Yes, in all current major browsers. Safari before version 18 needs the -webkit- prefixed form, which the generated CSS includes.
Blurring the backdrop costs work on every frame the content behind changes, so use it on a few panels rather than many, and prefer moderate blur values on large areas.
Raise the background opacity and blur, use large bold text, and test over the busiest background the panel will appear on.
It boosts the colours seen through the glass, so they stay vivid despite the blur. 100% leaves them unchanged.
Yes. Set the glass colour to any colour; its transparency comes from the background opacity, or from an eight-digit hex value.
This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.