The box-shadow syntax
The CSS box-shadow property takes up to four lengths plus a color: horizontal offset, vertical offset, blur radius, spread radius, then the color. An optional inset keyword draws the shadow inside the box.
Positive vertical offset pushes the shadow down (as if light comes from above); larger blur softens the edge; negative spread shrinks the shadow so it doesn't bleed past the corners. This tool builds the rule from your sliders and previews it live.
Worked example
A soft elevation shadow:
0 10px 25px -5px rgba(30,41,59,.25).Designing soft, realistic shadows
Natural-looking shadows usually have a small vertical offset, generous blur and a slightly negative spread, with a low-opacity dark color rather than pure black. For "elevation" systems, larger offset and blur read as higher off the page. Use inset to create pressed or inset effects on inputs and panels. Keep opacity modest — heavy shadows quickly look artificial.