Set outline style as a dotted line with CSS

CSSWeb DevelopmentFront End Technology

To set the outline style as a dotted line, use the outline-style property with the value dotted − 

Example

<html>
   <head>
   </head>
   <body>
      <p style = "outline-width:7px;outline-style:dotted;">
         This text is having 7px dotted outline.
      </p>
   </body>
</html>
raja
Updated on 04-Mar-2020 11:13:44

Advertisements