CSS Glassmorphism & Box Shadow Generator

Adjust sliders to design frosted-glass panels and soft box shadows with a live preview, then copy the ready-made CSS code.

About CSS Glassmorphism & Box Shadow Generator

This studio has two visual generators. The Glass tab builds a frosted-glass effect: set the backdrop blur, background opacity and border width, and the preview card updates over a colorful background so you can judge readability. The CSS includes background, backdrop-filter with a prefixed copy for wider browser support, border and border radius.

The Shadow tab creates a box-shadow from horizontal and vertical offset, blur radius and spread radius, with the preview showing the result on a card. Each tab has a Copy CSS button that puts the exact declarations on your clipboard, ready to paste into a stylesheet. It is a quick way to tune card, modal and panel styles without guessing values.

How to use it

  1. Choose the Glass or Shadow tab.
  2. Move the sliders until the preview looks right.
  3. Click Copy CSS and paste the code into your stylesheet.

Questions

Does backdrop-filter work in every browser?

Current major browsers support it. The generated code also includes the -webkit- prefixed version for older ones.

Can I change the shadow color?

The generator uses a soft dark shadow color. You can edit the rgba value in the copied CSS to use any color.

More Developer & Code tools

Home · All Tools · Blog