⚡
usefultools.dev
🧊

CSS Glassmorphism Generator

NEW

Create frosted-glass UI cards with backdrop-filter blur, transparency and border, then copy the CSS.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Preview backdrop
px
%
px
px
⚡

Quick Examples

Typical inputs and the results this tool produces.

Default
Blur 12px, opacity 0.2, saturate 150%
backdrop-filter: blur(12px) saturate(150%);
Blur only
Blur 20px, saturate 100%
backdrop-filter: blur(20px);
Tint
White tint 20 %
background: rgba(255, 255, 255, 0.2);
Border
Border 1px, opacity 0.35
border: 1px solid rgba(255, 255, 255, 0.35);
📖

Overview

Glassmorphism is a UI style that imitates frosted glass: a translucent panel that blurs whatever sits behind it, with a thin light border and a soft shadow. In CSS it is built from a semi-transparent background colour, backdrop-filter: blur() and usually saturate(), plus a 1px border and a subtle box-shadow.

This CSS glassmorphism generator gives you sliders for blur, transparency, saturation, border width and opacity, corner radius and tint colour. The preview sits on top of colourful gradients (or an image you upload from your device) so the blur is clearly visible, and it detects browsers that do not support backdrop-filter.

The generated CSS includes both backdrop-filter and the -webkit-backdrop-filter prefix needed by Safari. Everything runs in your browser — uploaded images are only used for the preview and never leave your device.

Why use this tool?

  • See the real frosted-glass effect over gradients or your own image
  • Includes the -webkit- prefix for Safari
  • Tune blur, transparency, saturation, border and radius
  • Warns when the browser has no backdrop-filter support
  • Copy-ready CSS, private and free
⭐

Features

🧊

Frosted glass

backdrop-filter blur with optional saturation boost.

🌫️

Transparency

Control the opacity and tint colour of the glass background.

🖼️

Image backdrop

Preview over four gradients or upload your own image (kept local).

🔲

Border and shadow

Light edge border with adjustable width and opacity, plus an optional drop shadow.

🍎

Safari ready

Outputs -webkit-backdrop-filter alongside the standard property.

📋

Copy CSS

One-click copy of the complete rule set.

🛠️

How to Use

1

Choose a backdrop

Pick a gradient or upload an image so the blur has something to act on.

2

Adjust the glass

Change blur, transparency, saturation, border and corner radius.

3

Check the preview

The card updates live. If your browser lacks backdrop-filter a notice appears.

4

Copy the CSS

Press Copy CSS and paste it into the card's CSS rule.

🤔

Frequently Asked Questions