CSS border-bottom-color Property
The CSS border-bottom-color property is used to specify the color of an element's bottom border. It is always necessary to declare the border-style or border-bottom-style property before using the border-bottom-color property because a border must exist before we can change its color .
Syntax
Property Values
| Value | Description |
|---|---|
| color | The color of the bottom border is specified here. For a complete list of color values, see CSS color Values. The default color is the element's current color . Indicates that the border color should be transparent. |
| transparent | This property is set to its default value. |
| initial | This property is inherited from its parent element. |
| inherit | Inherits this property from its parent element. |
Supported Browsers
| Element | Chrome | Firefox | Safari | Edge / IE | Opera |
|---|---|---|---|---|---|
| border-bottom-color | 1.0 | 1.0 | 1.0 | 4.0 | 3.5 |