digtools

Intuitively generate modern UI effects like Glassmorphism and Neumorphism.Adjust the backdrop-filter and output CSS code ready to copy & paste.

auto_awesome Presets (12 types) → Scroll

tune Editor

BG Color & Opacity 0.20
💎

Glassmorphism

Modern UI CSS Generator

code Generated Code

  
about,

📖 About

Glassmorphism is a UI design trend that creates a frosted glass texture by making the background semi-transparent and applying a blur effect (backdrop-filter: blur()). It is widely adopted in Apple's macOS/iOS and Windows Fluent Design System.

With this tool, you can apply 12 types of presets with one click, and individually adjust the 4 backdrop-filter functions: blur, brightness, saturate, and contrast. You can also fine-tune borders, shadows, and rounded corners with sliders, and copy the code in CSS or CSS variable format.

howto,

🔰 How to Use

1

Select a preset or adjust with sliders

Click your preferred style from the preset gallery above. If starting from scratch, adjust each property with the sliders.

2

Check the preview

Check the effect in real-time in the preview area. You can test 6 background patterns with the background switch button.

3

Copy the code

Select your preferred format from CSS or CSS variables, click the 📋 button to copy, and paste it directly into your project.

property,

📚 Property Guide

backdrop-filter: blur()
Blurs the area behind the element. The larger the value, the stronger the frosted glass effect. This is the core property of Glassmorphism.
backdrop-filter: brightness()
Adjusts the brightness of the background. 100% is the default. 200% makes it twice as bright, and 0% makes it pitch black.
backdrop-filter: saturate()
Adjusts the saturation of the background. 100% is the default. 0% makes it monochrome, and 200% makes it an oversaturated vivid color.
backdrop-filter: contrast()
Adjusts the contrast of the background. 100% is the default. Increasing the value emphasizes the difference between light and dark.
Vendor Prefix
It is recommended to include -webkit-backdrop-filter for Safari support. It is automatically included in the output code of this tool.
faq,

❓ FAQ

Q. Is backdrop-filter supported in all browsers?
A. It is supported in the latest versions of major browsers like Chrome, Edge, Safari, and Firefox. IE11 is not supported, but a fallback design using only a semi-transparent background color is recommended.
Q. What is the difference between Neumorphism and Glassmorphism?
A. Glassmorphism uses backdrop-filter to create a 'frosted glass' effect, representing element overlap (Z-axis). Neumorphism uses box-shadow light and dark to represent 'bumps and dents'.
Q. Does it affect performance?
A. Since backdrop-filter uses GPU compositing, moderate use is fine. However, applying high blur values to the entire page may cause framerate drops.
Q. Can I use the generated code as is?
A. Yes. Simply paste the copied CSS into your stylesheet to apply it. You can change the class name as needed.
scenes,

💡 Use Cases

🗂

Navigation Bar

A sleek UI where the semi-transparent navigation bar blurs the background when scrolling.

💬

Modals & Dialogs

Blurs the background to focus on the modal, visualizing the hierarchy of content.

🃏

Card UI & Pricing

Creates a premium and advanced feel with a frosted glass effect on pricing tables and feature cards.

🎛

Dashboards

Used in SaaS dashboard panels to maintain readability even over complex backgrounds.

All Categories

Send Feedback

Please let us know your thoughts to help us improve the tool.

Disclaimer

The tools provided on this site are completely free to use, but please use them at your own risk. We make no guarantees regarding the accuracy, completeness, or safety of any calculation results, conversion results, or generated data. Please be aware that the operator assumes no responsibility for any damages or troubles caused by the use of these tools. Most tools process files and calculations locally in your browser, meaning your inputted data is neither sent to nor stored on our servers.