/* offset-x, offset-y, (blur-radius and/or spread-radius=optional) and color */ selector { box-shadow: offset-x offset-y (blur-radius and/or spread-radius=optional) color; } /* Example */ .test-shadow { box-shadow: 4px 4px 20px 0px #0000003d; }