Set outline style as a dashed line with CSS

CSSWeb DevelopmentFront End Technology

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

Example

<html>
   <head>
   </head>
   <body>
      <p style = "outline-width:6px;outline-style:dashed;">
         This text is having 6px dashed outline.
      </p>
   </body>
</html>
raja
Updated on 04-Mar-2020 12:07:30

Advertisements