Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Web Tools
  3. Glassmorphism Generator
Add to favorites

Glassmorphism Generator

Create frosted glass CSS with blur, tint, border and shadow controls, presets, a live preview and help when the effect looks flat.

Runs locally in your browserMore web toolsJump to full guide
Related readingCSS Box Shadows: From Subtle Depth to Dramatic Effects12 min

Initializing in your browser…

You might also like

CSS Flexbox & Grid Playground

Build Flexbox and Grid layouts by adjusting real boxes, with presets, per-item controls, warnings for settings that do nothing, and CSS that matches the preview.

CSS Gradient Generator

Design linear, radial and conic CSS gradients with live preview, vivid colour-space blending, and CSS or Tailwind code to copy.

CSS Box Shadow Generator

Design layered CSS box shadows with live preview on light or dark, twelve presets, inset shadows, and a box-shadow line to copy.

Glassmorphism Generator: a worked example

You want a frosted card over a colourful hero image, light enough to see the colours through and solid enough to read.

Preset

Frosted: blur 16px, saturation 120%, background opacity 30%, border opacity 30%
What Glassmorphism Generator produces

The CSS the tool writes

.glass {
  background: rgb(255 255 255 / 0.3);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 16px;
  box-shadow: 0 8px 40px 0 rgb(0 0 0 / 0.1);
}

The 16-pixel blur softens the image behind the card, and saturate(120%) keeps its colours lively through the blur. The white background at 30% gives the card its tint, the 1-pixel border at 30% white catches the edge, and the shadow lifts it slightly. If the card looks flat once it is on your page, check its ancestors for a filter, opacity below 1 or a mask, which stop backdrop-filter from seeing the image.

About the Glassmorphism Generator

Create frosted glass CSS for cards, panels and navigation bars. Adjust the blur, tint, saturation, border and shadow, see the result over colourful backgrounds, and copy CSS with the Safari prefix included. The page also explains why the effect can look flat on a real site, and how to fix it.

Key features

  • Blur, saturation, tint, border and shadow controls
  • Every value can be set to zero
  • Eight presets and a randomize button
  • Any CSS colour notation for glass and border
  • Preview over eight colourful backgrounds
  • Safari -webkit- prefix included
  • Explanation of each line in the CSS
  • The common reasons the effect looks flat, listed

How to use

  1. 1Pick a preset or start from the defaults.
  2. 2Adjust blur, background opacity, saturation, corners, border and shadow.
  3. 3Choose the glass and border colours, and try different preview backgrounds.
  4. 4Read any warnings shown below the preview.
  5. 5Copy the CSS and apply the glass class to your element.

How the glass effect works

The ingredients. Glassmorphism is a translucent panel that blurs whatever sits behind it. Four properties do the work: backdrop-filter blurs and saturates the content behind the panel, a semi-transparent background gives it a tint, a thin light border catches the edge, and a soft shadow lifts it off the page. Each has its own slider here, and every one can be set to zero.

Presets. Subtle, Frosted, Bold, Dark, Colorful, Minimal, No blur and Sharp are starting points for common looks; a dark tint, for instance, suits glass on a light background. Randomize tries combinations for you. Colours accept any CSS notation, including names, rgb(), hsl() and eight-digit hex with its own transparency.

Why it can look flat on your page. The most common surprise is CSS that looks right in a generator and does nothing in a real layout. It is rarely browser support: backdrop-filter only blurs what is inside its backdrop root, and an ancestor with a filter, opacity below 1, a mask, will-change on certain properties, or contain: paint starts a new one, leaving nothing behind the panel to blur. The page lists these causes so you can find the culprit. A plain single-colour background also gives the blur nothing to show.

Readable glass. Text on glass changes with whatever is behind it. Use enough blur and tint for the busiest background your panel will sit over, and keep important text large and high-contrast. The generated CSS includes the -webkit- prefixed line Safari needed before version 18, then the standard property, and a short note on what each line does.

Examples

  • A frosted navigation bar

    Use the Frosted preset on a sticky header so page content blurs as it scrolls underneath.

  • Glass on a light page

    Choose Dark for a black tint, which reads as glass over white and pale backgrounds.

  • A pricing card over a gradient

    Use Bold over a vivid gradient so the text stays readable however the colours shift behind it.

Tips & best practices

  • Place glass over something with colour and shape; over a flat colour the effect disappears.
  • Keep blur between 8 and 20 pixels for most interfaces.
  • Add a subtle light border; it is what makes the edge read as glass.
  • Check contrast for any text on the panel against several backgrounds.

Frequently asked questions

Why is there no blur on my page?

Usually an ancestor of the panel has a filter, opacity below 1, a mask, will-change or contain: paint, which leaves nothing behind the panel to blur. A plain single-colour background also shows no visible blur.

Does backdrop-filter work in all browsers?

Yes, in all current major browsers. Safari before version 18 needs the -webkit- prefixed form, which the generated CSS includes.

Is the glass effect bad for performance?

Blurring the backdrop costs work on every frame the content behind changes, so use it on a few panels rather than many, and prefer moderate blur values on large areas.

How do I keep text readable on glass?

Raise the background opacity and blur, use large bold text, and test over the busiest background the panel will appear on.

What does saturation do?

It boosts the colours seen through the glass, so they stay vivid despite the blur. 100% leaves them unchanged.

Can I use a coloured tint?

Yes. Set the glass colour to any colour; its transparency comes from the background opacity, or from an eight-digit hex value.

Related tools and how they differ

  • CSS Gradient Generator: Makes the colourful background that glass looks best over.
  • CSS Box Shadow Generator: Fine-tunes the shadow under a glass card.
  • CSS Border Radius Generator: Shapes the card's corners beyond a single radius.
  • CSS Clip Path Generator: Cuts a glass panel into a shape.

Further reading

  • CSS Box Shadows: From Subtle Depth to Dramatic Effects12 min read

Private by design

This runs as client-side JavaScript. Keys, tokens, payloads, and other inputs never leave your device.