Back to generator

Elevation 24 Box Shadow CSS

A dramatic material-style overlay shadow.

box-shadow

Preview Surface

Output

Copy-ready CSS

Pure CSS

box-shadow: 0px 24px 42px -16px rgba(0, 0, 0, 0.32), 0px 52px 90px -36px rgba(0, 0, 0, 0.28);

Tailwind v4

shadow-[0px_24px_42px_-16px_rgb(0_0_0_/_0.32),_0px_52px_90px_-36px_rgb(0_0_0_/_0.28)]
Try it in the generatorOpen encoded state

When to use it

Elevation 24 is a material box-shadow preset built for systematic elevation. It uses 2 shadow layers to create a elevation effect that is easy to copy into product cards, dashboards, marketing blocks, and small interface surfaces. A dramatic material-style overlay shadow. The shadow is intentionally described as plain CSS, so you can paste it into any framework or convert it into a Tailwind arbitrary value without changing the visual result. The effect stays on the outside edge, so it reads as lift rather than a pressed or recessed treatment. Use it when you want a repeatable starting point, then open it in the generator to adjust offset, blur, spread, color, opacity, or stacked layers for your own layout.

Explore more

More CSS Forge paths

Related

Similar shadows

These presets share tags with Elevation 24 and make good nearby alternatives.