Box and Text Shadow
This page lists the CSS properties related to shadows.
CSS Properties
box-shadow
Sets the box shadow.
Specify x-offset, y-offset, blur radius (optional), spread radius (grows/shrink the shadow, optional), and color.
If you include the inset
keyword, the shadow will be drawned inside the element.
| LIVE PREVIEW
Lorem ipsum dolor sit amet
text-shadow
Sets the text shadow.
Specify x-offset, y-offset, blur radius (optional), and color.
| LIVE PREVIEW
Lorem ipsum dolor sit amet
References
- box-shadow (MDN) — https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow
- text-shadow (MDN) — https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow