What is glassmorphism?
Glassmorphism is a design style where panels look like frosted glass: translucent, softly blurring the colours behind them, with a faint bright edge. It became popular in operating system interfaces and is widely used for cards, navigation bars and modals over photos or gradients.
This generator gives you sliders for background blur, tint colour and opacity, the edge highlight, a colour boost for what shows through, and corner radius. A preview card sits over a choice of colourful backgrounds, and the CSS is ready to paste.
How to use the Glassmorphism generator
1.Adjust the glass
Background blur, tint colour and opacity, edge highlight and corner radius.
2.Check it on a background
Switch preview backgrounds to see how it reads.
3.Copy the CSS
Includes the -webkit- prefix Safari needs.
Example: the default glass card
A white-tinted card over a blue gradient:
- Blur and boost
- 16px blur, 160% saturation
- Tint
- white at 18%
- Edge
- 1px white border at 35%
- Corners
- 20px
A soft, see-through card that blurs the gradient behind it while white text stays readable.
Making glass readable
The effect comes from backdrop-filter, which blurs and boosts the colours behind an element, plus a semi-transparent tint and a thin light border that catches the edge. It only looks like glass over something colourful or busy; on a plain background it's just a pale box.
Because the background shows through, text contrast changes as content moves behind it. Raising tint opacity or blur keeps text legible over any background.
Frequently asked questions
Does backdrop-filter work in all browsers?
Yes, in all current major browsers; Safari needs the -webkit- prefix, which is included.
Is it slow?
Large blurred areas cost some performance, especially on older phones. Use it on a few panels, not everywhere.
Why can't I see the effect?
There must be something behind the element. Put it over an image or gradient.
Can I share my settings?
Yes. They're stored in the page address.
Related tools
Neumorphism generator
Soft UI shapes with matching light and dark shadows.
Mesh gradient generator
Soft multi-colour gradients in pure CSS, or as wallpaper PNGs.
CSS Box-Shadow Generator
Layered, inset and soft shadows with a live preview.
CSS Gradient Generator
Linear, radial and conic gradients with up to six stops.
CSS Border-Radius Generator
Rounded corners, linked or per-corner, in px or %.
CSS clamp() Generator for Fluid Sizes
Fluid font sizes and spacing that scale between two viewport widths.
More Developer tools
JSON & data
CSV tools
Network & system
Web & API
Git & releases
Encoding & security
- Base64 encode & decode
- URL encode & decode
- JWT decoder
- Hash generator
- HTML entity encoder
- Text to binary
- Morse code translator
- Caesar cipher & ROT13
- Random string generator
- Secret key generator
- 2FA code generator (TOTP)
- Encrypt & decrypt text
- Encrypt & decrypt files
- SSH key generator
- Base32 encoder and decoder
- Unicode escape converter
- Nano ID generator
- JWT generator
Text & code
- Regex tester
- Text diff checker
- Cron expression explainer
- Lorem ipsum generator
- Markdown previewer
- Slug generator
- Strip HTML tags
- Unicode character inspector
- URL parser
- Markdown TOC generator
- cURL converter
- Whitespace visualizer
- Markdown link extractor
- Regex escape
- Regex match extractor
- Split text by regex
- HTML, CSS and JS playground
- Mock data generator
- Keyboard event tester
- ASCII table