Change the color of the left border with CSS


The border-left-color property changes the color of the left border. You can try to run the following code to implement the border-left-color property:

Example

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

karthikeya Boyini
karthikeya Boyini

I love programming (: That's all I know

Updated on: 03-Feb-2020

65 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements