Change the color of right border with CSS


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

Example

You can try to run the following code to implement the border-right-color property

<html>
   <head>
      <style>
         p.demo {
            border:3px solid;
            border-right-color:#FF0000;
         }
      </style>
   </head>
   <body>
      <p class = "demo">
         Example showing border right color property
      </p>
   </body>
</html>

Updated on: 31-Jan-2020

104 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements