ClickNote
ClickNote
Try the live demoStart free trial

The demo needs no sign-up. The trial needs no card.

Open dashboard
Choose a plan
Dashboard
Start free trial

The trial needs no card.

Web design styles - depth and material

Glassmorphism web design

Glassmorphism uses see-through panels that blur whatever sits behind them, like frosted glass. It gives a page depth without heavy shadows, and it’s firmly back in fashion now that Apple has built its Liquid Glass interface around the same idea. This guide shows it working, gives you the CSS, and covers what to check before a client sees it.

A live example

This sample page is built with this page’s own CSS. Switch to the common mistake to see how quickly glass stops being readable.

Spring trips

Plan your next weekend away

Pick a city, choose your dates and we’ll put the whole trip in one place.

Flights

Compare times and fares in one list.

Search flights

Stays

Hotels and flats near where you’ll be. Pick by area, price or how close you are to the station.

Find a stay

Things to do

Tours, tables and tickets, booked ahead.

Browse ideas

Done well: a dark, rich background, a fill of about 14% white, a light edge on every panel and white text that stays readable wherever it sits.

What makes it glassmorphism

Translucency

The panel is a white or tinted fill at low opacity, so you can see through it.

rgba(255,255,255,.14)

Background blur

Whatever sits behind the panel is blurred, which is what makes it feel like frosted glass.

backdrop-filter: blur()

A light edge

A thin, semi-transparent border catches the light and separates the panel from the page.

1px solid rgba(255,255,255,.3)

Something to blur

Glass needs colour or an image behind it. On a plain white page it just looks grey.

background-image

The CSS

This is the rule the example above uses. It includes a solid fallback for browsers without blur, and it respects people who’ve asked their device for less transparency.

glass.css
.glass {
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(10, 8, 40, 0.3);
}

/* A solid panel where blur isn't supported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(27, 23, 64, 0.88); }
}

/* Respect people who ask for less transparency */
@media (prefers-reduced-transparency: reduce) {
  .glass {
    background: rgba(27, 23, 64, 0.94);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

Tuning the values

PropertyA good starting rangeWhat goes wrong outside it
blur()12px to 24pxLower and the background shows through as a smudge that fights the text. Much higher and you pay for it in scrolling performance with little visible gain.
Fill opacity0.10 to 0.25Lower and text loses contrast. Higher and the panel looks like frosted plastic rather than glass.
Border opacity0.20 to 0.40Without the edge, panels melt into each other and into pale parts of the background.
saturate()120% to 180%Without it, blurred colours turn muddy and the glass looks dirty.

When it works

  • Floating elements over rich imagery, such as a header over a hero photo or a card on a map.
  • A few layers at most, so the effect stays special.
  • Brands that want to feel light, modern and a little premium.

When to avoid it

  • Long reading content, forms and checkout, where legibility matters more than mood.
  • Pages where the background is changeable, such as user-uploaded photos, so you can’t control contrast.
  • Sites that need to run smoothly on older, low-powered phones.

Where glass is going

Apple’s Liquid Glass

Apple introduced Liquid Glass at WWDC in June 2025 as the new look across iOS 26, iPadOS 26 and macOS Tahoe 26. It takes the glassmorphism idea further. Rather than only blurring what’s behind it, Liquid Glass bends light at its edges, picks up highlights as you move, and shifts its tint to suit the content underneath. Controls float above the content and shrink out of the way as you scroll.

Legibility was the main complaint, and it’s a useful lesson for anyone using glass on the web. In iOS 26.1 Apple added a choice between Clear and Tinted, where Tinted makes the glass more opaque and adds contrast.

Liquid glass has its own guide, which goes further into how it works and how to switch it between Clear and Tinted on an iPhone. Here we stick to what it means for glassmorphism on the web.

How they differ
GlassmorphismLiquid Glass
BackgroundBlurredBlurred and bent at the edges
LightA static borderHighlights that move
ColourA fixed tintAdapts to what’s behind it
ShapeFixed panelsControls that morph and shrink

Getting close on the web

You can get part of the way there. CSS handles the blur and the tint, and layered inset shadows give a convincing light edge. True refraction needs an SVG displacement filter applied through backdrop-filter: url(), which only works in Chromium-based browsers, so treat it as an extra and keep the plain blur as the fallback. The bar below is plain CSS.

liquid.css
.liquid {
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(6px) saturate(180%);
  backdrop-filter: blur(6px) saturate(180%);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),   /* top highlight */
    inset 0 -1px 0 rgba(255, 255, 255, 0.15), /* bottom rim */
    inset 0 0 24px rgba(255, 255, 255, 0.1),  /* inner glow */
    0 10px 30px rgba(0, 0, 0, 0.3);           /* lift */
}

@media (prefers-reduced-transparency: reduce) {
  .liquid {
    background: rgba(15, 23, 42, 0.9);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

What to check when you review a glassmorphism site

Glass looks great in a design file, where the background never moves. These are the things that tend to break once it’s live, in a real browser, on a real phone.

  1. .glass p

    1. Text over the brightest part of the background

    Contrast changes as the background shifts behind the panel. Check body text reaches 4.5:1 where the lightest colour sits behind it, not just where it looks fine.

  2. a:focus-visible

    2. Focus outlines on every control

    A thin white outline disappears on light glass. Tab through the page with a keyboard and make sure you can always see where you are.

  3. @supports not (backdrop-filter)

    3. A fallback without blur

    Where blur isn’t available or is switched off, the panel should still be readable. A missing fallback leaves white text on a nearly clear panel.

  4. .glass { border }

    4. Panel edges on pale sections

    The white edge that defines a panel vanishes over light parts of the page. Scroll the whole page and check every panel still has a visible edge.

  5. .modal .glass

    5. Glass stacked on glass

    Menus, modals and tooltips on top of glass panels muddy both layers. Open every overlay and check the text on the top layer.

  6. body

    6. Scrolling on a mid-range phone

    Large blurred areas are expensive to draw. Test on a real, older phone rather than a new laptop and look out for stuttering when you scroll.

  7. @media (prefers-reduced-transparency)

    7. Reduced transparency

    Some people turn transparency down in their device settings. Where the browser supports it, the site should switch to solid panels for them. Only Chrome and Edge support this so far, so test it there.

  8. .hero img

    8. Real content behind the glass

    Designs are approved with the perfect hero photo. Swap in the client’s real images and check the text on top still reads.

Reviewing with clients

Notes on exactly the panel that’s hard to read

Contrast problems on glass depend on where the panel sits and which device it’s on, so "the text is hard to read" in an email doesn’t get you far. With ClickNote, clients click directly on elements of the website and leave a note, without creating an account or installing a browser extension.

  1. Send your client a review link for the page.

  2. They click the paragraph they can’t read and say what’s wrong.

  3. You get the selector, a screenshot and their device, so you can go straight to the right rule in your CSS.

Note 1Open

I can’t read this line where it sits over the yellow on my phone.

mobile · Safari on iPhone - 390 x 844

.d-card > .d-text
A client’s note pinned to the exact paragraph, with its selector.

Reviewing a site in one of these styles?

Send your client a review link and they can click directly on elements of the website and leave a note, without creating an account or installing a browser extension. You get the selector, a screenshot and their device with every note.

14-day free trial. No card needed. See pricing.

Live demo

Try the live demo

We will set up a demo account for you.