What is the border-bottom-color property in CSS?
The border-bottom-color property in
If we want to use the
border-bottom-colorproperty we must first declare theborder-styleor theborder-bottom-stylebecause the color is only changed if we have a border.
Syntax
border-bottom-color: color|initial|inherit;
Property value
color:This is used to set the color of the bottom border.initial:This is used to set the value to its default value.inherit:This is used to inherit property from its parent value.
Code
The following is the basic border-bottom-color property.