Computer >> Computer tutorials >  >> Programming >> Javascript

Usage of text-shadow property in CSS


The text-shadow property is used to set the text shadow around a text. You can try to run the following code to set the text-shadow property:

Example

<html>
   <head>
   </head>
   <body>
      <p style = "text-shadow:3px 2px 5px red;">
         If your browser supports the CSS text-shadow property, this text will have a red shadow.
      </p>
   </body>
</html>