Glassmorphism Generator

Create glassmorphism effects with live preview and CSS code export.

Runs on this device
Blur16px
Opacity25%
Saturation140%
Border opacity30%
Border radius16px
Start color
End color
.glass {
background: rgba(255, 255, 255, 0.25);
-webkit-backdrop-filter: blur(16px) saturate(140%);
backdrop-filter: blur(16px) saturate(140%);
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.30);
}

Using the CSS

  • The effect only shows when something sits behind the element, such as an image or gradient.
  • Check text contrast over the busiest part of the background and raise opacity if needed.
  • The output includes -webkit-backdrop-filter for Safari versions that need the prefix.