Free online tools to generate, calculate,
convert, format, encode, and play.
 

Glassmorphism Generator

Create frosted glass CSS effects with adjustable blur, transparency, border, and background. Preview live and copy the CSS.


Preview

Glass Card
This is a glassmorphism effect with a frosted glass appearance.

Presets

Glass Properties

px
%
%
Border
px
%
Shape
px
px
Text Color

Background

Choose a background to preview the glass effect against.

CSS Code


How It Works

Glassmorphism is a UI design trend that creates a frosted glass look using CSS backdrop-filter. The effect works by blurring the content behind a semi-transparent element.

Key CSS Properties
  • backdrop-filter: blur(): Applies a Gaussian blur to the area behind the element, creating the frosted glass effect
  • background: A semi-transparent fill color (usually white or light color with low opacity) that tints the blurred area
  • border: A subtle semi-transparent border adds definition and a light refraction look to the glass edge
  • backdrop-filter: saturate(): Boosts color intensity behind the glass for a more vivid appearance
Best Practices
  • Place glass elements over colorful or image-heavy backgrounds for the most visible effect
  • Keep opacity low (15-35%) so the blur remains visible through the element
  • Use a subtle border (1px, 20-40% opacity) to define the glass edge
  • Add a light box-shadow for depth and realism
  • Ensure text contrast meets accessibility standards against the blurred background
Browser Support
  • backdrop-filter is supported in all modern browsers (Chrome, Firefox, Safari, Edge)
  • Always include the -webkit-backdrop-filter prefix for older Safari versions
  • Provide a solid fallback background for browsers that lack support

Embed This Util

You can embed this util on your own site as a widget. Adding ?embed=1 to the URL loads a compact version with just the tool itself; no header, menu, or documentation. Paste this snippet into your HTML:


    

Copy snippet Adjust the height to taste.



Feedback

Help us improve this page by providing feedback, and include your name/email if you want us to reach back. Thank you in advance.


Share with