CSS border bottom color Property
CSS border-bottom-color Property
The border-bottom-color property is used to set the color of an element bottom border. We have to always declare or use border-style or border-bottom-style property with it. Without them, this property will not work.
Syntax:-
Its syntax is:- border-bottom-color: color | transparent | initial | inherit;
Further Explanation:-
Value | Description |
---|---|
color | Specifies the color of the bottom border. |
transparent | Specifies that the border color should be transparent |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |