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

25 lines
541 B
Markdown
Raw Normal View History

2018-10-12 19:37:13 +00:00
---
title: CSS3 Text Shadow Property
---
## CSS3 Text Shadow Property
The text shadow property adds shadow to the text.<br>
Each shadow is the combination of X and Y offsets from the original element, blur radius and color.
``` css
Css Syntax
text-shadow : X-offset Y-offset blur-radius color
```
**Example :**
``` css
p {
text-shadow : 2px 2px 8px #FF0000;
2018-10-12 19:37:13 +00:00
}
```
#### More Information:
[MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow)
[w3schools](https://www.w3schools.com/cssref/css3_pr_text-shadow.asp)