The text-shadow property in CSS is used to add shadows to the text. This property accepts a list of comma-separated list of shadows to be applied to the text. The default value of text-shadow property is none.
text-shadow: h-shadow v-shadow blur-radius color|none|initial| inherit;
- h-shadow: It specifies the position of horizontal shadow
- v-shadow: It specifies the position of vertical shadow
- blur-radius: It is used to set the blur radius. It’s default value is none.
- color: It is used to set the color of the shadow
- initial: It is used to set text-shadow to its default value.
- inherit: This property is inherited from its parent.
Supported Browsers: The browsers supported by border-bottom-color property are listed below:
- Google Chrome 4.0
- Internet Explorer 10.0
- Firefox 3.5
- Opera 9.6
- Safari 4.0
- HTML | DOM Style textShadow Property
- CSS | transition-property Property
- How to override the CSS properties of a class using another CSS class ?
- Difference between bootstrap.css and bootstrap-theme.css
- CSS | table-layout Property
- CSS | text-align Property
- CSS | border-top-width Property
- CSS | isolation Property
- CSS | border-inline-start-style Property
- CSS | column-rule-width Property
- CSS | word-spacing Property
- CSS | animation-delay Property
- CSS | margin-top Property
- CSS | border radius property
- CSS | grid Property
- CSS | font-size-adjust Property
- CSS | visibility Property
- CSS | Display property
- CSS | grid-template-columns Property
- CSS | height Property
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.