Glassmorphism CSS Generator

Design frosted-glass UI elements and get production-ready CSS instantly.

Adjust blur, transparency & border radius in real time · 5 built-in presets · One-click copy.

Start Creating How It Works
Presets
Appearance
Transparency 0.15
Blur 5px
Border Radius 16px
Outline Opacity 0.30
Shadow Intensity 0.15
Color
#ffffff
Live Preview
Glassmorphism
Adjust the controls on the left to see your glass effect update in real time.
Get Started
Generated CSS

      

Frequently Asked Questions

Everything you need to know about glassmorphism in CSS.

What is glassmorphism in CSS?

Glassmorphism is a UI design trend that creates a frosted-glass appearance using backdrop-filter: blur(), a semi-transparent rgba() background, and a subtle border. Popular for cards, modals, and navigation elements layered over colorful backgrounds.

How do I create a glassmorphism effect in CSS?

Combine four properties: backdrop-filter: blur(8px) for blur, background: rgba(255,255,255,0.15) for transparency, border: 1px solid rgba(255,255,255,0.3) for the edge, and border-radius for shape. Add -webkit-backdrop-filter for Safari.

Does backdrop-filter work in all browsers?

Yes. backdrop-filter is supported in Chrome 76+, Firefox 103+, Safari 9+ (with -webkit- prefix), and Edge 79+. For older browsers, provide a plain semi-transparent background as a fallback so content stays readable.

What are the best values for a glass effect?

Use 8–20px blur, 0.1–0.25 alpha for the background, 0.2–0.4 alpha for the border, and add a soft box-shadow for depth. Glass effects work best over colorful or gradient backgrounds. Dark-tinted glass works well on light backgrounds.