Computer >> Computer tutorials >  >> Programming >> Javascript

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>