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: 2020-01-31T10:21:55+05:30

107 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements