Updated
Using Box shadow generator
Box shadow generator gives you the declarations and a live browser preview. Adjust individual values, then copy the CSS into your own selector.
A worked example
A horizontal offset of 4 and vertical offset of 8 move the shadow right and down.
Before you use the result
This creates one outer shadow. Transparent backgrounds and nearby clipping containers can change the final appearance.
Cite this page
ToolOctopus. “Box shadow generator.” Updated 2026-09-19. https://tooloctopus.com/box-shadow-generator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
