Change the color of the bottom border with CSS


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

Example

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

Lakshmi Srinivas
Lakshmi Srinivas

Programmer / Analyst / Technician

Updated on: 03-Feb-2020

82 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements