Presets

Glass Effect

Appearance

Background

Copy CSS

About the CSS Glassmorphism Generator

We built this tool to help designers and developers quickly create the trendy "frosted glass" effect known as glassmorphism. Instead of writing the CSS by hand, you can use our visual editor to adjust the blur, transparency, color, and border, all while seeing a live preview. Choose from several beautiful presets to get started, or create your own unique look. The tool generates all the necessary cross-browser CSS for you to copy and paste into your project.

How to Use the Tool

  • Start by selecting one of the presets, or begin customizing the controls directly.
  • Adjust the "Blur" slider to control the intensity of the frosted glass effect.
  • Use the "Transparency" slider and the "Color Tint" picker to change the look of the glass panel.
  • Fine-tune the "Border" controls to add a subtle edge to your element, with its own color and opacity.
  • Click the different background images to see how your glass effect looks on various backdrops.
  • Copy the generated CSS from the output box and add it to your website's stylesheet.

Frequently Asked Questions

What is Glassmorphism?

Glassmorphism is a UI design trend that creates a "frosted glass" look. Elements appear as if they are placed on a piece of translucent, blurry glass. The key characteristics are transparency, a background blur, a subtle border, and a sense of depth created by layering elements.

How does the CSS `backdrop-filter` property work?

The `backdrop-filter` property is the magic behind glassmorphism. It lets you apply graphical effects, like `blur()` or `brightness()`, to the area *behind* an element. When you combine it with a semi-transparent `background-color`, you get the frosted glass effect where the content underneath is blurred and visible through the element.

Why is `-webkit-backdrop-filter` included in the code?

The `-webkit-` prefix is a "vendor prefix." For many years, some browsers (like Safari) only supported the `backdrop-filter` property with this prefix. We include both the standard property and the `-webkit-` prefixed version to ensure your glass effect works on the widest possible range of browsers, both new and old.

Is the `backdrop-filter` property supported by all browsers?

It is now widely supported by all modern browsers, including Chrome, Firefox, Safari, and Edge. However, it's a relatively new feature, so very old browser versions may not support it. It's always a good idea to ensure your design looks acceptable even if the blur effect doesn't render.

Is this tool free to use?

Yes, absolutely. Our CSS Glassmorphism Generator is completely free. All the design and code generation happens in your browser, so your work is never sent to our servers. We created this tool to help the design and development community create beautiful UIs more easily.

Tools