The border-inline-color property sets the color of an element’s logical inline-start and inline-end borders. In the default horizontal writing mode, that means the left and right border colors.
One color paints both sides. Two colors set start first and end second. It maps to physical sides based on writing-mode and direction. For the other axis, use border-block-color.
Baseline · Widely available.
Not deprecated and not experimental. Logical border color properties have been widely available across browsers since April 2021. Internet Explorer does not support them.
A border with 0 width has nowhere to show the color. Set a positive border-inline-width.
order
Two values are start then end
border-inline-color: blue green means blue on inline-start and green on inline-end. Swap them if the wrong edge looks wrong.
shorthand
border-inline can overwrite color
Writing border-inline: 4px solid red after your color rule replaces it. Put border-inline-color after the shorthand, or include the color in the shorthand.
axis
Block sides need another property
This property never colors top/bottom in horizontal text. Use border-block-color for the block axis.
Compatibility
Browser Support
border-inline-color is a browser CSS property for logical border colors. Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available
border-inline-color
Chrome 87+, Edge 87+, Firefox 66+, Safari 14.1+. Internet Explorer has no support.
97%Modern browser support
Google Chrome87+
Full support
Mozilla Firefox66+
Full support
Apple Safari14.1+
Full support
Microsoft Edge87+
Full support
Opera73+
Full support
Samsung Internet14+
Full support
Internet ExplorerNo support
Not supported
border-inline-colorWidely supported
Bottom line: Safe for modern browsers. Fall back to border-left-color and border-right-color only when you must support Internet Explorer. It is not a runtime API.
Remember
Key Takeaways
Role: color the logical inline-start and inline-end borders.
One or two colors: one for both sides; two for start then end.
Needs a line: style and width must exist before color is visible.
Initial value:currentColor. Not inherited. Follows writing mode.
One line: visible inline border + border-inline-color: blue green; = colored start and end on the inline axis.
Frequently Asked Questions
It sets the color of the logical inline-start and inline-end borders. In horizontal writing those are usually the left and right border colors.
The initial value is currentColor, which uses the element’s text color for both inline borders.
Yes. One color paints both sides. Two colors set inline-start first and inline-end second, for example border-inline-color: blue green.
Color alone does not draw a border. You also need a visible style such as solid and a width greater than zero.
border-left-color always targets the physical left side. border-inline-color follows writing-mode and direction, so the same rule works in LTR, RTL, and vertical layouts.
It is Baseline Widely available. Chrome 87+, Edge 87+, Firefox 66+, and Safari 14.1+ support it. Internet Explorer does not. It is a browser CSS property, not a Node.js feature.