border bottom color

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

CSS border-bottom-color Property

Example

Set the color of the bottom border:

{
    border-style: solid;
    border-bottom-color: #ff0000;

}

Definition and Usage

The border-bottom-color property sets the color of an element's bottom border.

Note: Always declare the border-style property before the border-bottom-color property. An element must have borders before you can change the color.

Property Values

Value Description  
color Specifies the background color. Look at CSS Color Values for a complete list of possible color values. Default color is the color of the element  
transparent Specifies that the border color should be transparent