Menu
PDF Tools
Image Tools
Converters & Utilities
Seller & Print Tools
Accounting & Business
Calculators
Text & Writing Tools
Developer & Web Tools
Creator & Social Tools
Browser Utilities & Games
Document & Design Makers
Text & Developer Tools
Exam & Form Tools

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.

How to use Glassmorphism CSS Generator online

  1. Choose fill and opacity. The tint of the glass.
  2. Set blur, saturation and border. Watch the preview.
  3. Pick a backdrop. See light and dark areas.
  4. 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?
There is nothing behind it to blur. Put it over an image, a gradient or other content.
Do I need the webkit line?
Older Safari versions use it, so keep it for wide support.
How do I keep the text readable?
Raise the fill opacity a little, or add a dark tint, and test the contrast.
Will it slow my page?
A large blurred area can be costly on weak devices. Keep the glass areas small.
Can I use it with Tailwind?
Yes. The page also writes classes with arbitrary values.
Can anyone see the text I put into the Glassmorphism CSS Generator?
The Glassmorphism CSS Generator works locally, and clearing the site data removes anything the editor saved.
Can I chain the Glassmorphism CSS Generator with another tool?
Yes. Copy the Glassmorphism CSS Generator result, or press Use result as input and carry on with the new text.

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.

More tools in Developer & Web Tools →

Search tools