Free tools that run in your browser. Use any tool without an account.

Favourites Cart
Sign in
Join free

Glassmorphism Generator

Frosted CSS builder

  • Free
  • Runs in your browser
  • No account needed

It generates free, copyable CSS for frosted-glass UIs: blur, saturate, tint, border, radius and shadow with presets and live preview in your browser. Example: blur 12px, saturate 160%, tint rgba(255,255,255,0.15). Includes -webkit-backdrop-filter.

Runs in your browser. Your files and values are not sent to us. Report a problem
Advertisement

About the Glassmorphism Generator

This tool builds frosted-glass CSS you can copy straight into a site or component. You pick a tint color and set background opacity, backdrop blur, saturation, border opacity, radius and shadow. The preview updates live over a colourful background so you can judge contrast and style. The CSS output always includes the -webkit-backdrop-filter line Safari needs and a simple fallback pattern you can paste into an @supports block. The generator runs entirely in your browser, so no files leave your machine and you do not need to install anything. Designers and front-end developers use it to make cards, modals and nav panels that match modern UI guides. The interface keeps common presets and practical ranges (for example, blur 6 to 24px) so you can work quickly and avoid extreme values that hurt performance or contrast.

How to use it

  1. 1Choose a tint color and set background opacity.
  2. 2Adjust blur (px) and saturation (%) for the backdrop-filter.
  3. 3Set border opacity, corner radius and shadow strength.
  4. 4Copy the generated CSS and paste it into your stylesheet.
Advertisement

Worked example

Inputs: blur 12px, saturate 160%, background rgba(255,255,255,0.15), border rgba(255,255,255,0.25), border-radius 16px, box-shadow 0 8px 32px rgba(0,0,0,0.20). Output CSS: .glass { background: rgba(255,255,255,0.15); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%); border: 1px solid rgba(255,255,255,0.25); border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.20); }

How it works

Builds frosted glass CSS: background transparency, backdrop blur and saturation, border opacity, radius and shadow, with presets and a live preview over a colourful backgroundIncludes the -webkit- line Safari needsWorks in the browser with nothing to install

Source: MDN - backdrop-filterWebKit blog - introducing backdrop filtersCan I Use - css-backdrop-filter. Last checked 7 November 2026.

What it is good for

  • Live preview over colourful scenes so you can judge contrast.
  • Includes -webkit-backdrop-filter for Safari compatibility.
  • Runs in your browser with nothing uploaded or installed.
  • backdrop-filter is not supported in all older browsers.
  • Heavy blur or many blurred layers can hurt rendering performance.
Advertisement

Questions people ask

What CSS property creates the blur behind the element?

The property is backdrop-filter, for example backdrop-filter: blur(12px) saturate(160%). Add -webkit-backdrop-filter for Safari support.

Why does the glass effect sometimes not show?

Backdrop-filter blurs what sits behind the element, so you need an image, gradient or content under it. If the background is empty the blur won't be visible.

How do I support browsers that do not support backdrop-filter?

Provide a fallback by using a solid or more opaque rgba background inside an @supports not (backdrop-filter) block. That gives readable contrast in older browsers.

Does using backdrop-filter affect performance?

Yes. Big blur radii and many blurred layers increase compositing work. Keep blur modest, limit blurred areas and test on low-end phones.

How do I check text contrast on top of a glass panel?

Test contrast using a sample text over the live preview and compare to WCAG 2.1 ratios. Increase tint opacity or add a text shadow if contrast fails.

What blur and saturation ranges are typical?

Common ranges are blur 6 to 24px for cards and saturate 120 to 180 percent to restore color. Adjust by eye and test contrast on your background.

Help keep every tool free

FreeToolr stays free because people help it grow. Share a tool you like, tell us what to build next, or support us on Ko-fi.

Advertisement
Advertisement