Usage of border-width property in CSS


The border-width property changes the color of the right border.

Example

You can try to run the following code to implement the border-width property:

<html>
   <head>
   </head>
   <body>
      <p style = "border-width:3px; border-style:solid;">
         Example showing border width and style
      </p>
   </body>
</html>

Updated on: 31-Jan-2020

63 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements