CSS
✨ Effects
CSS Glassmorphism Generator
Glassmorphism creates a frosted glass effect using backdrop-filter blur combined with semi-transparent backgrounds and subtle borders. This generator lets you fine-tune every aspect of the effect.
Live Preview
12
#ffffff
25
1
#ffffff
30
Generated CSS
Adjust parameters above to generate CSS...
How to Use
- Adjust the blur amount to control the frosted glass intensity.
- Pick a background color and set its opacity for the translucent layer.
- Add a border with adjustable width, color, and opacity for the edge highlight.
- Toggle the drop shadow for extra depth.
- Copy the generated CSS and paste it into your stylesheet.
How It Works
Glassmorphism combines
backdrop-filter: blur() with a semi-transparent background: rgba(). The blur affects content behind the element. The -webkit-backdrop-filter prefix ensures Safari compatibility. A subtle border and shadow complete the effect.