border-inline-color
Sets the color for both borders in the inline dimension (usually left and right). It's the logical way to style 'horizontal' edges at once, adapting perfectly for right-to-left text.
It is documented as part of the CSS Logical Properties and Values specification.
Syntax
/* Usage Example */
.feature-box {
/* Adds purple bars to the left and right */
border-inline-color: #7c3aed;
border-inline-style: solid;
border-inline-width: 4px;
}
/* Syntax */
border-inline-color: border-top-color;
/* Global values */
border-inline-color: inherit;
border-inline-color: initial;
border-inline-color: revert;
border-inline-color: revert-layer;
border-inline-color: unset;
border-inline-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.
87+
66+
14.1+
87+