Back to generator

Inner Highlight Box Shadow CSS

An inset shadow with a small top highlight.

box-shadow

Preview Surface

Output

Copy-ready CSS

Pure CSS

box-shadow: inset 0px 2px 8px 0px rgba(2, 6, 23, 0.26), inset 0px 1px 0px 0px rgba(255, 255, 255, 0.18);

Tailwind v4

shadow-[inset_0px_2px_8px_0px_rgb(2_6_23_/_0.26),_inset_0px_1px_0px_0px_rgb(255_255_255_/_0.18)]
Try it in the generatorOpen encoded state

When to use it

Inner Highlight is a inset box-shadow preset built for recessed interface depth. It uses 2 shadow layers to create a highlight effect that is easy to copy into product cards, dashboards, marketing blocks, and small interface surfaces. An inset shadow with a small top highlight. 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. It includes 2 inset layers, so it can make a surface feel pressed into the canvas instead of floating above it. 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 Inner Highlight in Hexpedia.

Explore more

More CSS Forge paths

Related

Similar shadows

These presets share tags with Inner Highlight and make good nearby alternatives.