CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

CSS text shadow Property

CSS text-shadow Property



The text-shadow property is used to add shadow to text. It accepts a comma-separated list of shadows to be applied to the text.


Default Value:-


Its default value is none.




Its syntax is:- text-shadow: h-shadow v-shadow blur-radius color | none | initial | inherit;


Further Explanation:-


Value Description
h-shadow Required. The position of the horizontal shadow.
v-shadow Required. The position of the vertical shadow.
blur-radius Optional. The blur radius.
color Optional. The color of the shadow.
none No shadow.
initial Sets this property to its default value.
inherit Inherits this property from its parent element.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS