border-block-end-color

Sets the color of the 'end' side of the block dimension (usually the bottom border). Using logical properties like this makes your CSS more readable for multi-language sites.

footer {
  /* Sets the bottom border color specifically */
  border-block-end-color: #334155;
  border-block-end-style: solid;
  border-block-end-width: 1px;
}
Initial value
currentcolor
Inherited
No
Applies to
allElements
Animation type
byComputedValueType

Values

border-top-color
Widely available Since 2021 95% global usage

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

Safe to use without fallbacks.

69+
41+
12.1+
79+
ESC