Boneyard Tools

CSS Glassmorphism Generator

Design a frosted glass surface with live controls. Adjust the backdrop blur, background transparency, tint color and corner radius, toggle a border and shadow, then copy the generated CSS.

How to make a CSS glassmorphism effect

  1. Drag the blur and transparency sliders, then pick a tint color and corner radius.
  2. Toggle the translucent border and drop shadow to refine the frosted look.
  3. Copy the generated CSS, including the backdrop-filter, into your stylesheet.

Examples

Classic frosted card

blur 10, transparency 0.2, #ffffff, radius 16, border + shadow
background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 16px;

Subtle dark glass

blur 6, transparency 0.1, #0f172a, radius 12
background: rgba(15, 23, 42, 0.1); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-radius: 12px;

Frequently asked questions

What is glassmorphism?

Glassmorphism is a UI style where a panel looks like frosted glass: a translucent background, a soft blur of whatever sits behind it, rounded corners and a faint border. In CSS it is built with a semi-transparent background plus the backdrop-filter property.

What does backdrop-filter do?

backdrop-filter applies a graphical effect, here a blur, to the area behind an element rather than the element itself. That is what frosts the content sitting under your glass panel. The background stays partly transparent so the blurred scene shows through.

Does backdrop-filter work in every browser?

It works in current Chrome, Edge, Firefox and Safari. Safari and older WebKit builds need the -webkit-backdrop-filter prefix, which this tool always includes. Very old browsers ignore it, so the panel simply shows its translucent background with no blur.

Why is my glass effect not blurring?

There must be content behind the element to blur, and the element needs a semi-transparent background so that content shows through. A fully opaque background hides the blur. On Safari, confirm the -webkit-backdrop-filter line is present, which this generator adds for you.

How does the transparency slider affect the CSS?

Transparency sets the alpha channel of the rgba() background. A value of 0.2 means the tint is 20 percent opaque, so 80 percent of the blurred backdrop shows through. Lower values look airier, higher values look more solid.

Is my work sent to a server?

No. The preview and the generated CSS are computed entirely in your browser, so nothing about your settings leaves your device.

Related tools