Tool guide
About this tool.
- Glassmorphism makes a panel look like frosted glass: a translucent tint over a blurred, slightly more saturated copy of whatever sits behind it. In CSS that is a semi-transparent background plus backdrop-filter, with a thin light border to catch the edge.
- The tint color and its opacity set how much of the backdrop shows through. Blur softens it, saturation brings the colors behind the panel back after blurring, and the border opacity controls how crisp the edge looks.
- The rule is written with both -webkit-backdrop-filter and backdrop-filter so older Safari versions still render the effect. The border is always white at the chosen opacity.
- Cards, modals and navigation bars that float over images, gradients or video.
- Dashboards and landing pages with a colorful background layer.
- Overlays that should keep the page context visible behind them.
- Checking text contrast before committing to a translucent panel.
Pick a Tint color and set its opacity, then drag Blur, Saturation, Border opacity and Corner radius. The card updates live over a colorful backdrop.
The sample text on the card helps you judge contrast. Try a darker tint or a higher opacity if it gets hard to read.
Use Apply sample to jump to a ready-made look such as Dark smoke or Pill panel.
Copy the CSS or download glass.css with the audit report. The backdrop and sample text are only for the preview and are not exported.
- Classic frost → .glass { background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(12px) saturate(140%); }
- Heavy blur → .glass { background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(28px) saturate(140%); }
- Dark smoke → .glass { background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(12px) saturate(160%); }
- Sharp edge → .glass { border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 4px; }
- Pill panel → .glass { backdrop-filter: blur(20px) saturate(140%); border-radius: 64px; }
- Rose tint → .glass { background: rgba(251, 113, 133, 0.25); backdrop-filter: blur(12px) saturate(180%); }
- Tint can be any opaque CSS color, such as #ffffff or white. Transparent colors are rejected.
- Tint opacity is 0 to 100 %, blur 0 to 40 px, saturation 100 to 200 %, border opacity 0 to 100 % and corner radius 0 to 64 px. Values outside the range are rejected, never clamped.
- The tint is converted to an rgba() background so only the alpha channel changes with opacity.
- The border is always a 1px solid white line at the chosen opacity, whatever the tint color.
- Text contrast depends on what is behind the panel, so check it on your real background.
- The preview backdrop, sample text and card size are not exported.