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.
It is documented as part of the CSS Logical Properties and Values specification.
Syntax
/* Usage Example */
footer {
/* Sets the bottom border color specifically */
border-block-end-color: #334155;
border-block-end-style: solid;
border-block-end-width: 1px;
}
/* Syntax */
border-block-end-color: border-top-color;
/* Global values */
border-block-end-color: inherit;
border-block-end-color: initial;
border-block-end-color: revert;
border-block-end-color: revert-layer;
border-block-end-color: unset;
border-block-end-color Browser support
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.
69+
41+
12.1+
79+