Skip to content
Settings → CSS, TailwindDeveloper tools

CSS Glassmorphism Generator

Design frosted glass cards: tint, blur, light edge, corners and shadow on your own background. CSS with fallbacks, or Tailwind.

Did this tool work for you?

Used CSS Glassmorphism Generator? Share how it went to help others.

About this tool

About CSS Glassmorphism Generator

CSS Glassmorphism Generator makes cards that look like frosted glass. The style has three parts: a tint that lets the background through, a blur of everything behind the card, and a thin light edge where the glass seems to catch the light. Choose one of six ready versions, light, clear, milk, dark, blue or rose, and change it with sliders. You set the color and the strength of the tint, the blur, how strong the colors behind the card shine, the light edge, the round corners and the shadow, as well as the color of the text. Glass only looks like glass when there is something behind it. For this reason the preview offers four backgrounds, with clear shapes, a sunset, hard stripes and a pale gradient, and you can load a picture of your own to see the card on your real page. The stripes are the hardest test. If the text is still easy to read there, it will be readable nearly everywhere. The code is more than the usual three lines. It has the webkit version for Safari, and two fallbacks that many examples on the web forget. Browsers without backdrop-filter get a nearly solid card, so nobody has to read text on a busy picture. The same card is shown to people who ask their system for less transparency, which helps when moving or blurred layers are hard to look at. A version for Tailwind is ready as well. Please be careful with two things. Readability comes first: look at your text over the lightest and over the darkest place of the background, and raise the tint when it is weak. And blurring costs power, because the browser must calculate the area again whenever something moves behind it. One navigation bar or a few cards are fine. Twenty glass cards in a long list are not. Pictures that you load stay on your device.

CSS Glassmorphism Generator tool

Where glass looks good

A few places, used with care

Navigation bar

The page shines through while scrolling.

ExampleMilk with a blur of 20 px.

Text on a photo

A card that does not hide the picture.

ExampleDark, with light text.

Video controls

Buttons above a moving picture.

ExampleClear with a blur of 10 px.

Sign-in card

On a colorful first page.

ExampleLight, with your picture behind.

App design

A look known from phones.

ExampleBlue with round corners of 28 px.

Pop-up windows

The page stays visible behind.

ExampleMilk with a strong shadow.

Glassmorphism tips

Pretty and readable

Test on stripes

The hardest background shows weak text at once.

Check the contrast

Text needs 4.5 to 1, large text 3 to 1.

Open Contrast Checker

Few glass areas

Each one has to be blurred again when something moves.

A little saturation

From 140% to 180% keeps the colors alive behind the blur.

Parent with a filter

Opacity, filters or masks on a parent can stop the effect.

Need a background?

Make a colorful gradient.

Open Gradient Generator
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed CSS Glassmorphism Generator and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 25 November 2026

Answers and guidanceFrequently Asked Questions
What is glassmorphism?
A style in which cards look like frosted glass: partly see-through, with the background blurred.
Why is there no blur on my page?
The card has a solid background, or a parent element with opacity or a filter stops it.
Does it work in Safari?
Yes. The code contains the webkit version as well.
What happens in old browsers?
They show a nearly solid card in the same color.
Is it good for accessibility?
It can be, if the text has enough contrast. The code also respects the wish for less transparency.
Does it make my page slow?
A few areas do not. Many or very large ones can slow down scrolling on phones.
Is my picture uploaded?
No. It is only shown in the preview.
More tools for your workflowRelated Tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.