Glassmorphism: what it is, real examples, and CSS that stays readable.
By Max Zeshut, Tech Lead · Updated 2026-11-17
The short answer
Glassmorphism is a UI style built from frosted, translucent panels: a background blur, a light or tinted fill, a thin light border and soft rounded corners, set over colour or imagery so the layer behind shows through. The name was coined in 2020, when frosted panels spread through Apple's and Microsoft's interfaces.
How to recognise it.
- Panels you can partly see through, with the layer behind blurred rather than sharp.
- A fill that is white or tinted at roughly 50 to 90% opacity, never fully solid.
- A thin, light border or highlight along the edge, so the panel reads as a sheet.
- Soft corners and soft shadows; nothing hard-edged.
- Something colourful or photographic behind: glass over a flat white page looks like nothing.
Measured on real sites.
Two library sites use glass with restraint, on one small element each, measured on the live sites on 16 November 2026:
| Where | Fill | Blur | Edge | Radius |
|---|---|---|---|---|
| Orior AI, status chip | rgb(247 246 243 / 0.9) | 12 px | 1 px, black at 6% | 18 px |
| Butter, floating nav bars | rgb(240 240 240 / 0.85) | — | None | 16 px |
Both keep the fill high (85 to 90%), which is why their small text stays readable. Aside, the library's glassmorphism example, goes further: a full-size frosted mockup of its own browser over a cloud-sky photo.
CSS that stays readable.
.glass {
/* Opaque first: browsers or settings without backdrop blur still get readable text. */
background: rgb(247 246 243 / 0.94);
border: 1px solid rgb(0 0 0 / 0.06);
border-radius: 18px;
}
@supports (backdrop-filter: blur(1px)) {
.glass {
background: rgb(247 246 243 / 0.9);
-webkit-backdrop-filter: blur(12px);
backdrop-filter: blur(12px);
}
}
/* Dark glass for white text over any backdrop. */
.glass-dark {
background: rgb(11 13 18 / 0.72);
color: #fff;
}The light values are Orior AI's measured chip. The dark panel is the recipe's checked one. Its contrast was computed for the brightest backdrops a panel can sit on:
| White text on the dark panel, over | Contrast | Needed |
|---|---|---|
| White | 7.96 : 1 | 4.5 : 1 |
| Bright yellow (#FFE066) | 9.16 : 1 | 4.5 : 1 |
| Bright cyan (#7CF2FF) | 9.16 : 1 | 4.5 : 1 |
On standard components.
The same navigation, buttons, badge, card, stat, form field and toggle every style in the wiki is shown on, in glassmorphism. Every colour pair passes WCAG contrast. Compare it with seven other styles on one page.
Plan your week in minutes.
One calm place for the team's tasks, notes and deadlines.
Weekly review
Every Friday, see what moved and what is stuck.
Read morePitfalls.
- Testing against the average backdrop. Text has to pass over the brightest thing that can scroll behind the panel. Raise the opacity before you lower the text contrast.
- No fallback. backdrop-filter does not apply everywhere, and a parent with opacity below 1 can switch it off. Without an opaque fallback the text sits on the raw image.
- White or pastel text on light glass. Keep text dark on light panels, and use pastel only as a fill.
- Glass borders as the only edge of a control. Inputs and buttons need a border or fill at 3:1 against what surrounds them.
- Glass everywhere. The measured sites use it on one element; a page of frosted cards loses the effect and costs rendering time.
Glassmorphism and its neighbours.
| Style | What it is | Era |
|---|---|---|
| Glassmorphism | Flat frosted panels: blur, translucent fill, light border | 2020 on |
| Liquid Glass (Apple) | Glass that refracts and highlights what is behind it and reacts to movement | 2025 on |
| Neumorphism | Soft, extruded shapes in the same colour as the background, lit by paired shadows | 2019 to 2021 |
| Skeuomorphism | Interfaces that imitate real materials: leather, metal, paper, knobs | Until about 2013 |
| Frutiger Aero | Glossy, optimistic 2000s look: aqua bubbles, glass, sky and nature | About 2004 to 2013 |
Questions.
What is glassmorphism?
Glassmorphism is a UI style built from frosted, translucent panels: a background blur, a light or tinted fill, a thin light border and soft rounded corners, set over colour or imagery so the layer behind shows through. The name was coined in 2020, when frosted panels spread through Apple's and Microsoft's interfaces.
How do you make glassmorphism in CSS?
Give a panel a semi-transparent fill, backdrop-filter: blur(), a thin light border and rounded corners, and set it over colour or an image. Write an opaque fill first and add the blur inside @supports (backdrop-filter: blur(1px)), so browsers or settings without it still get a readable panel.
Is glassmorphism accessible?
It can be, if you test text against the brightest thing that can sit behind the panel, not the average. A dark panel at 72% opacity keeps white text above 4.5:1 even over white, yellow or cyan; a light panel needs a fill of about 90% for dark text. Controls also need a border or fill that reaches 3:1 against their surroundings.
What is the difference between glassmorphism and liquid glass?
Glassmorphism is a flat frosted panel: blur, fill and border. Apple's Liquid Glass, introduced in 2025, adds refraction and highlights that bend the content behind and react to movement. On the web the frosted look is plain CSS; the bending needs SVG filters or WebGL.
Who coined glassmorphism?
Designer Michał Malewicz popularised the name in late 2020, the year macOS Big Sur brought frosted translucent surfaces to the Mac.
Sources
- Nielsen Norman Group, “Glassmorphism: Definition and Best Practices”
- MDN Web Docs, backdrop-filter
- whata.design measurements of Orior AI's and Butter's heroes on their live sites, 16 November 2026
- whata.design recipe “Glass, pastel and soft palettes without washed-out text”, contrast pairs computed with the WCAG 2 formula
