Set Inset border with CSS


To set inset border with CSS, use the border-style property with value inset.

Example

<html>
   <head>
   </head>
   <body>
      <p style = "border-width:4px; border-style:none;">
         This is a border with none width.
      </p>
      <p style = "border-width:4px; border-style:inset;">
         This is inset border.
      </p>
   </body>
</html>

Updated on: 03-Feb-2020

702 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements