![]() How to Apply Shadow Effect on Text Using CSS? In this example, we will apply the shadow effect on an “h3” element and give the shadow a y-offset along with red color Offset-y − It represents the distance of the shadow from the element in the vertical directionīlur radius − It represents the opacity of the shadowĬolor − It represents the color of the shadow Offset-x − It represents the distance of the shadow from the element in the horizontal direction Here the values and their meanings are listed below − ![]() These values are listed in the syntax below − Syntax text-shadow: offset_y offset_x blur-radius color ![]() The “text-shadow” property takes a list of values that represents X and Y offsets of the shadow from the element, the blur radius of the shadow, and the color of the shadow. We can apply a shadow effect on a text element using the “text-shadow” property given by CSS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |