Glassmorphism generator
Seven sliders, four modes, six backdrops. Nudge things until the glass feels right, then copy the code. It comes with the Safari prefix and a fallback already written.
Frosted glass
Blur what is behind. Keep what matters sharp.
ButtonWhat each control does
| Control | Range | What it changes |
|---|---|---|
| Blur | 0–30px | How soft the background looks through the glass |
| Background opacity | 0–100% | How milky the panel is. Lower shows more of what is behind |
| Border opacity | 0–100% | The bright edge that makes glass read as glass |
| Border radius | 0–50px | Corner roundness |
| Shadow blur | 0–80px | How far the panel seems to float |
| Shadow opacity | 0–100% | How strong that lift is |
| Saturation | 50–200% | Boosts the colours behind the glass so they stay lively when blurred |
The four modes
- None: a plain translucent panel with no blur. Handy for comparison, or for browsers where you want to skip the effect.
- Frosted: the classic. A white tint, a blur and a light border.
- Dark Glass: a deep navy tint for dark interfaces. Text switches to white.
- Mirror: a diagonal sheen and an inner highlight, like polished glass catching the light.
Using the code
- Hit Copy CSS and paste it into your stylesheet.
- Hit Copy HTML for a starter element, or add
class="glass"to your own. - Put something colourful behind it. Glass over a flat colour is just a grey box.
The CSS includes -webkit-backdrop-filter for Safari and an @supports fallback that swaps in a solid, readable background where blur is missing. More in backdrop-filter browser support. New to the style? Start with what glassmorphism actually is.
FAQ
Yes. Whatever you generate is yours, no credit needed.
The PNG is drawn on a canvas. A few browsers cannot blur on canvas, so the card may export without blur there.
Yes, on your device. Hit Reset to start fresh.
More tools
Privacy Blur Screen
One click and your display turns to frosted glass. Esc to come back.
Monitor Calibration
Make sure your soft gradients are actually soft.
Screen Resolution Checker
Your real pixels and pixel ratio, at a glance.
Refresh Rate Test
See how smoothly your screen can animate all that blur.
Dead Pixel Test
A quick colour sweep for a new display.
Screen Burn-In Test
Find faint ghosts left by static widgets and docks.