Back to generator

Elevation 2 Box Shadow CSS

A low material elevation for raised cards.

box-shadow

Preview Surface

Output

Copy-ready CSS

Pure CSS

box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.22), 0px 4px 8px -4px rgba(0, 0, 0, 0.16);

Tailwind v4

shadow-[0px_2px_4px_-1px_rgb(0_0_0_/_0.22),_0px_4px_8px_-4px_rgb(0_0_0_/_0.16)]
Try it in the generatorOpen encoded state

When to use it

Elevation 2 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 low material elevation for raised cards. 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.

Hexpedia

Color reference

Review the shadow color values used by Elevation 2 in Hexpedia.

Explore more

More CSS Forge paths

Related

Similar shadows

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