Good day, dear readers. Today we want to tell you about what is text-shadow and why it is such an important property of CSS. Also, we will look at the characteristics and examples of this element. This property is very useful for text formatting of your online resource or a simple web page.
So, text-shadow allows us to create a shadow for the given text. Let's look at the basic parameters that can be set for this property.
The shift of the shadow by the X axis - if this parameter is set to a positive value, the shadow will be located in the right of the text, if the negative - on the left.
The shift of the shadow by the Y axis - with a positive value, shadow will be created at the bottom of the text, and with a negative - the shadow will be set at the top of the text.
Blur radius - the value of the shadow's blur. The default is 0. The greater the value of the blur, the more the shadow gets lighter and wider.