Glassmorphism CSS Not Showing: Why backdrop-filter Fails

Contents
If you copied some glassmorphism CSS, pasted it in, and nothing changed on screen, the code probably isn't wrong — in most cases you just haven't met the conditions that make backdrop-filter actually work. No matter how high you push the blur value, if the card's own background is fully opaque, or there's nothing behind the card to blur, you won't see any difference at all.
Summary ① backdrop-filter is a filter that blurs the background already painted behind an element, not the element itself. ② If the card's own background is fully opaque (alpha 1), it hides what's behind it, so the blur never shows up on screen. ③ If the background behind it is a solid color, blurring it still leaves the same solid color, so your eyes can't detect the difference.
Why nothing changes even after you add backdrop-filter
Here's the most common situation. You put a single card on a white page and add backdrop-filter: blur(10px), but the card just looks like a plain white rectangle. The CSS syntax is correct, the property shows up as applied in dev tools, and yet nothing appears to change.
backdrop-filter doesn't affect the element's own content. It takes the part of the screen already rendered behind that element — background color, images, other elements — and blurs it. That's a completely different target from filter: blur(), which blurs the element itself along with its child content.
The catch is that two conditions have to be met at the same time before you see anything. First, if the card's own background is fully opaque, like rgba(255,255,255,1), it completely hides what's behind it, so there's no room for a blurred background to show through. Second, if the background behind is a solid color like white, blurring it produces the same solid color, so you won't notice any change.
How to diagnose it from the code alone
You can narrow down the cause with nothing but your browser's dev tools. Start by checking the card's own background value. If the alpha channel is 1, or it's a solid color with no alpha at all (a HEX value like #ffffff), lower that alpha below 1 — for example, rgba(255, 255, 255, 0.25) — so there's room for what's behind to show through.
Next, check whether there's actually anything behind the card to blur. It needs to be something with visual variation — a gradient, a photo, shapes in other colors — for the before-and-after difference to appear. Over a solid background, everything can be set up correctly and you'll still see almost no difference.
Finally, in the Elements panel of dev tools, open the Computed tab and check whether the backdrop-filter entry is struck through. If it's struck through, or missing from the list entirely, the property isn't being applied in that browser and version — and for Safari compatibility you should list -webkit-backdrop-filter alongside the standard property.
Check it with our tool. Doing all of this by hand — preparing a background image, working out the alpha values, remembering the prefix — gets tedious every time. Use the sliders to adjust blur, transparency, saturation, and border, watch the live preview over a color background, and copy the CSS once the conditions are right.
Free · no sign-up · live preview with sliders, then copy the CSS as is

Where people usually get stuck
| Symptom | Cause |
|---|---|
| Raising the blur still leaves the card looking like a plain white rectangle | The card's background is fully opaque (alpha 1), so nothing shows through |
| The card is semi-transparent but doesn't feel blurry | The background behind the card is a solid color, so blurring produces the same color |
| Works in Chrome but not in other browsers | The -webkit-backdrop-filter prefix is missing, or that browser doesn't support it |
Recap
- backdrop-filter blurs what's behind an element; it targets something different from
filter: blur(), which blurs the element itself. - If the card's own background alpha is 1, it hides what's behind it and the blur can't show, so lower the alpha below 1.
- If the background behind the card is a solid color, everything can be set up right and you'll still see almost no difference — test over a background with variation, like a gradient or a photo.
- For Safari, write
-webkit-backdrop-filteralongside the standard property.
Free · no sign-up · live preview with sliders, then copy the CSS as is
Frequently asked questions
What's the difference between backdrop-filter and filter: blur()?
filter: blur() blurs the element itself, including the text and child elements inside it. backdrop-filter leaves the element's own content alone and blurs only the background already painted behind it. That's why you want backdrop-filter when the text inside a glass card should stay sharp while the background behind it looks frosted.
Does the preview's background gradient get included in the copied CSS?
No. The color background in the preview is only there to help you see whether the glass effect looks right. The copied CSS contains just six lines for the glass card itself: background, border-radius, backdrop-filter, -webkit-backdrop-filter, border, and box-shadow. What background you actually place it over differs from page to page, so you'll need to set that up yourself.
Does the blur look the same in every browser?
Even with -webkit-backdrop-filter included, rendering engine differences between browsers and devices can make the blur look slightly different. Before you ship, it's safer to check the result by eye in each of the major browsers where the code will run.
This article was adapted from our Korean original. Read the Korean original