CSS Glassmorphism Generator

Create glass-like UI elements using the glassmorphism effect.

Glassmorphism Preview

Background

Glassmorphism

This is how your glassmorphism effect will look.

Settings

Generated CSS

.glassmorphism { background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); }

What is Glassmorphism Generator?

The Glassmorphism Generator is a powerful tool for creating glass-like UI elements using the glassmorphism effect. It offers customizable options for shapes, colors, blur intensity, transparency, and more, making it easy to design modern, sleek glass-like components. The tool also provides real-time previews and generates CSS code that you can copy with a single click.

How to Use the Glassmorphism Generator?

  1. Select a glass shape from the dropdown menu (Rectangle, Circle, or Custom).
  2. Adjust the glass color using the color picker or by entering a hex value.
  3. Use the sliders to adjust blur intensity, transparency, border width, and border radius.
  4. Customize the border color using the color picker or by entering a hex value.
  5. Toggle "Show Content" to display or hide sample content in the glass element.
  6. Use "Hide Guides" to remove the guide lines from the preview.
  7. Click "Shuffle Background" to change the preview background image.
  8. Enable "Use Custom Background" to upload your own background image.
  9. Copy the generated CSS or reset to default settings using the buttons at the bottom.

Key Features

  • Multiple glass shapes: Rectangle, Circle, Custom.
  • Customizable glass color with color picker and hex input.
  • Adjustable blur intensity for the glassmorphism effect.
  • Transparency control for the glass element.
  • Customizable border width and color.
  • Border radius adjustment for non-circular shapes.
  • Option to show/hide sample content within the glass element.
  • Toggleable guide lines for precise positioning.
  • Background image shuffling for quick visualization with different images.
  • Custom background image upload for personalized designs.
  • Real-time preview of the glassmorphism effect.
  • Generated CSS code with one-click copy functionality.
  • Reset option to quickly return to default settings.
  • Responsive design for use on various devices.