KitWharfFREEFast & Private Web Apps
CSS & UI Generator

CSS Box Shadow & Glassmorphism Generator

Design multi-layered smooth box shadows and frosted glassmorphism cards in real time. Instant copy for CSS, Tailwind, and React. 100% private in-browser generator.

Curated Presets:

Shadow Layers (2)

Layer #1
Offset X0px
Offset Y20px
Blur Radius25px
Spread Radius-5px
#0f172a
Opacity10%
Layer #2
Offset X0px
Offset Y8px
Blur Radius10px
Spread Radius-6px
#0f172a
Opacity10%

Frosted Glassmorphism Overlay

Live Interactive Canvas
KW

Elevated UI Card

Smooth, natural multi-layered shadow with realistic light refraction.

box-shadow:
  0px 20px 25px -5px rgba(15, 23, 42, 0.1),
  0px 8px 10px -6px rgba(15, 23, 42, 0.1);

100% In-Browser Rendering

All CSS computations and visual previews run completely in your client browser. Zero network requests.

Tailwind CSS Shadow Scale vs. Multi-Layer Natural Elevations

Elevation LevelTailwind UtilityRendered CSS box-shadowBest Applied To
Subtle Border Liftshadow-xs / shadow-sm0 1px 2px 0 rgb(0 0 0 / 0.05)Buttons, form inputs, badge tags
Standard Elevationshadow-md0 4px 6px -1px rgb(0 0 0 / 0.1)Cards, dropdown menus, table headers
High Elevationshadow-lg0 10px 15px -3px rgb(0 0 0 / 0.1)Popovers, hover card states, tooltips
Modal Windowshadow-xl / shadow-2xl0 25px 50px -12px rgb(0 0 0 / 0.25)Dialog modals, mobile drawer sheets

Glassmorphism CSS Properties & Browser Compatibility

CSS DeclarationVisual PurposeSafari Prefix Needed?Recommended Value
backdrop-filter: blur(Npx)Diffuses background imagery through cardYes (-webkit-backdrop-filter)12px – 24px
background: rgba(...)Translucent tint to preserve legibilityNo (Standard)rgba(255,255,255, 0.25)
border: 1px solid rgba(...)Catches ambient light edge reflectionsNo (Standard)rgba(255,255,255, 0.35)

How to Create Photorealistic Shadows & Glass Online

  1. Stack Multiple Layers: Click "Add Layer" to combine a sharp contact shadow with a soft ambient diffusion layer.
  2. Adjust Offsets & Spread: Use negative spread values (-4px to -8px) to keep shadows focused downwards rather than blooming laterally.
  3. Export Ready-to-Use Code: Select CSS, Tailwind, or React style objects, then click "Copy" to drop into your code.

Frequently Asked Questions

100% In-Browser Rendering

All CSS computations and visual previews run completely in your client browser. Zero network requests.