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: 2020-01-31T06:45:25+05:30

205 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements