Glassmorphism is the look of frosted glass on a screen: translucent panels that blur whatever sits behind them, edged with a thin bright line, floating over something colourful. You have seen it on your phone’s control centre, in desktop sidebars and on roughly half the landing pages launched since 2020. It looks simple. Getting it to look good takes four ingredients, in the right amounts.
The four ingredients
- Translucency. The panel has a semi-transparent fill, usually white or near-black at 10 to 40 percent opacity.
- Background blur. Whatever is behind the panel is blurred, so shapes and colours come through but detail does not. On the web this is the
backdrop-filterproperty. - A light border. A one-pixel, semi-transparent white edge catches the “light” and tells your eye this is a sheet of glass, not a hole.
- A soft shadow. A wide, faint shadow lifts the panel off the layer below.
Take away any one and the illusion weakens. No blur, and it is just a see-through box. No border, and it looks like a smudge. No colour behind, and there is nothing to frost.
The whole effect in a few lines
.glass {
background: rgba(255, 255, 255, 0.15);
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.3);
border-radius: 24px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}That is the recipe behind every card on this site. Our generator lets you tune each number and see the result live.
Where it came from
- 2007: Windows Vista introduces Aero Glass, with blurred, translucent window frames.
- 2013: iOS 7 replaces heavy textures with flat design and layers of blurred translucency.
- 2017: Microsoft’s Fluent Design brings a material called Acrylic to Windows.
- 2020: macOS Big Sur leans hard into translucent sidebars and widgets. Designer Michal Malewicz gives the trend its name, glassmorphism, and it spreads across design communities.
- 2025: Apple announces Liquid Glass, a more refractive take on the idea, across its platforms.
So the style is not new. What changed is that browsers caught up, and the effect became a few lines of CSS instead of a hack. More on Apple’s role in frosted glass in iOS and macOS design.
Why designers like it
- Depth without clutter. Blur tells you one layer sits above another, with no heavy borders or drop shadows needed.
- Context. You can still sense what is behind a panel, so the interface feels connected.
- Softness. Frosted surfaces feel calm and tactile.
- It flatters colour. A vivid wallpaper becomes a gentle glow under glass.
How blur signals depth is covered in depth hierarchy in UI design.
Good glass vs bad glass
| Good | Bad |
|---|---|
| Colourful or photographic background | Flat, single-colour background |
| Text with strong contrast | White text on pale, washed-out glass |
| One or two glass layers | Glass on glass on glass |
| Visible bright border | No edge, panel dissolves |
| Blur of 8 to 20 pixels | Blur so low the background is distracting |
| Used for navigation, cards, overlays | Used for every element on the page |
The readability problem
The biggest criticism of glassmorphism is fair: text on a translucent surface sits on a background you do not fully control. If the wallpaper behind is light in one corner and dark in another, contrast changes across the panel.
- Raise the tint opacity until text is readable over the worst-case background.
- Use a dark tint for white text over busy images.
- Increase blur; it evens out the colours behind.
- Respect people who prefer less transparency. Operating systems offer a “reduce transparency” setting, and CSS can detect it with
prefers-reduced-transparencyin supporting browsers.
Does it work everywhere?
Yes, in current versions of all major browsers, with the -webkit- prefix included for Safari. Always add a fallback for older ones. The details are in backdrop-filter browser support.
Is it slow?
Blur is one of the more expensive things a browser draws. A few panels are fine. Dozens of large animated ones can make a phone stutter. See blur effects and GPU performance and making blur look good on mobile.
What it is not
Glassmorphism is often confused with neumorphism, the soft, extruded-plastic look from the same era. They are different ideas with different problems; we compare them in neumorphism vs glassmorphism.
Try it in a minute
- Open the generator.
- Pick a backdrop. Aurora and Sunset are forgiving.
- Set blur to 12, background opacity to 15, border opacity to 30.
- Copy the CSS and drop it over a colourful section of your page.
Or browse the twelve ready-made effects and copy one whole.
The short version
Glassmorphism is translucency, background blur, a light border and a soft shadow, over something colourful. Use it sparingly, keep text readable, and include a fallback. Done well, it makes an interface feel layered, calm and a little bit magic.
If you remember one thing, make it this: glass is a way of showing that something floats. Use it where that is true, such as menus, bars and cards over imagery, and it will feel natural. Use it everywhere and it becomes wallpaper.
FAQ
A design style where panels look like frosted glass: semi-transparent, blurring what is behind them, with a light border and soft shadow.
backdrop-filter, with -webkit-backdrop-filter added for Safari.
Yes. Operating systems keep refining it, and it remains common in app and web interfaces.