Glassmorphism CSS Generator

Build a frosted glass card and copy the CSS.

Loading tool...

How to use Glassmorphism CSS Generator

  1. Adjust blur, transparency and saturation.
  2. Pick the glass color and border opacity.
  3. Copy the CSS into your project.

About this tool

Glassmorphism combines a semi-transparent background with backdrop-filter: blur() so that content behind the element is softly blurred. It needs something colorful behind it to be visible, which is why the preview sits on a gradient.

Add a prefixed -webkit-backdrop-filter for older Safari versions, and keep text contrast high because the background shows through.

Frequently Asked Questions

Does backdrop-filter work in all browsers?
It is supported in current Chrome, Edge, Safari and Firefox. Provide a solid fallback background for older browsers.
Is it bad for performance?
Large blurred areas can be costly on low-end devices, so use it sparingly.

Related tools