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.
Quick example
.feature-box {
/* Adds purple bars to the left and right */
border-inline-color: #7c3aed;
border-inline-style: solid;
border-inline-width: 4px;
} Quick facts
Initial value
currentcolorInherited
No
Applies to
all elements
Animation type
byComputedValueType
Values
border-top-color 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.
Safe to use without fallbacks.
87+
66+
14.1+
87+