Glassmorphism CSS Generator
Set the blur, the fill, the border and the corner radius of a frosted glass card, and see it drawn over a colourful backdrop. The page writes plain CSS and Tailwind classes.
- Free, no sign-up
- Nothing is sent to a server
- Worldwide
How to use Glassmorphism CSS Generator online
- Choose fill and opacity. The tint of the glass.
- Set blur, saturation and border. Watch the preview.
- Pick a backdrop. See light and dark areas.
- Copy CSS or Tailwind. Paste it into your code.
Why use this free Glassmorphism CSS Generator
- Fill, blur and saturation
- Border and radius
- Standard and prefixed CSS
- Tailwind classes
- Three preview backdrops
- Optional shadow
What the effect is
Glassmorphism makes a panel look like frosted glass: the page behind it shows through, blurred, under a light tint and a thin bright edge. It needs three things: a see-through fill, a blur of what is behind, and a border that catches the light. This page sets all three and shows them together.
The controls
Choose the fill colour and how opaque it is, from clear to solid. The blur radius controls how frosted it looks, and the saturation lifts the colours behind the glass, which keeps them lively after the blur. The border opacity sets how strong the bright edge is, and the radius rounds the corners. A soft shadow can be added.
The output
The page writes the CSS with the standard backdrop-filter rule and the prefixed one that older Safari versions need. Below it are Tailwind classes using arbitrary values, so you can paste them into a class attribute. A white fill is written in the short form with a slash for the opacity, and other colours as an rgba value.
Reading the preview
The drawing shows a backdrop of a gradient with a few shapes, then the card with a blurred copy of the backdrop inside it. Pick another backdrop to see how the glass behaves on dark and light areas. Glass looks good only when there is something behind it, so on a plain colour the blur does nothing.
Care and support
Backdrop blur is supported in current versions of the main browsers, but older ones ignore it, so keep the fill dark or light enough to read text on its own. Heavy blur on large areas can slow down weak phones. Check text contrast on the finished design. Everything runs in your browser.
Using the tool
Change the text or any option of the Glassmorphism CSS Generator and the answer moves straight away. Undo and redo step back through your earlier text.
Glassmorphism CSS Generator: frequently asked questions
Why does my card look flat?
Do I need the webkit line?
How do I keep the text readable?
Will it slow my page?
Can I use it with Tailwind?
Can anyone see the text I put into the Glassmorphism CSS Generator?
Can I chain the Glassmorphism CSS Generator with another tool?
Related searches for Glassmorphism CSS Generator
- Glassmorphism CSS Generator online
- free Glassmorphism CSS Generator
- Glassmorphism CSS Generator online free
- Glassmorphism CSS Generator for mobile
- Glassmorphism CSS Generator without sign up
- Glassmorphism CSS Generator – Developer & Web Tools
Glassmorphism CSS Generator is a free online tool on MAITBOX, in the Developer & Web Tools group. It runs in your browser, so what you type is not sent to a server. It works on Android and iPhone, and on Windows, Mac and Linux, with no download and no account.