Set outline style as a groove with CSS


To set the outline style as a groove, use the outline-style property with the value groove. Under groove, the outline looks as though it is carved into the page.− 

Example

<html>
   <head>
   </head>
   <body>
      <p style = "outline-width:3px;outline-style:groove;">
         This text is having 3px groove outline.
      </p>
   </body>
</html>

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 04-Mar-2020

127 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements