freeCodeCamp/guide/english/css/properties/css3-text-shadow-property/index.md

541 B

title
CSS3 Text Shadow Property

CSS3 Text Shadow Property

The text shadow property adds shadow to the text.
Each shadow is the combination of X and Y offsets from the original element, blur radius and color.

Css Syntax

text-shadow : X-offset Y-offset blur-radius color

Example :

p {
  text-shadow : 2px 2px 8px #FF0000;
}

More Information:

MDN Web Docs

w3schools