Set the shadow around the text in CSS

JavascriptWeb DevelopmentFront End Scripts

Use the text-shadow property to set the shadow around a text. You can try to run the following code to learn how to set the shadow around the text in CSS:

Example

<html>
   <head>
   </head>
   <body>
      <p style = "text-shadow:3px 1px 4px green;">
         If your browser supports the CSS text-shadow property, this text will have a green shadow.
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 15:55:03
Advertisements