border-bottom-color

Sets the color of the bottom border specifically. It's often used to create 'underline' effects on headings or nav links that are stylistically distinct from regular text underlines.

nav a.active {
  border-bottom-color: #7c3aed;
  border-bottom-style: solid;
  border-bottom-width: 3px;
}
Initial value
currentcolor
Inherited
No
Applies to
allElements
Animation type
color

Values

border-top-color
Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

Safe to use without fallbacks.

1+
1+
1+
12+
ESC