In the default horizontal writing mode, that means left and right. Change writing-mode or direction, and the same rule maps to different physical edges. For the other axis, use border-block.
Baseline · Widely available.
Not deprecated and not experimental. Logical border shorthands have been widely available across browsers since April 2021. Internet Explorer does not support them.
border-inline never paints the block edges. Pair it with border-block, or use border for all four sides.
physical
Not a drop-in for left/right forever
In horizontal LTR it looks like left and right. In RTL or vertical modes, the physical edges change. That is the point of logical properties.
ie
No Internet Explorer support
IE 11 does not implement border-inline. Use physical border-left / border-right only if you must support IE.
Compatibility
Browser Support
border-inline is a browser CSS property for logical borders. Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available
border-inline
Chrome 87+, Firefox 66+, Safari 14.1+, Edge 87+. Available across browsers since April 2021. Not supported in Internet Explorer.
97%Global support
Google Chrome87+
Full support
Mozilla Firefox66+
Full support
Apple Safari14.1+
Full support
Microsoft Edge87+
Full support
Opera73+
Full support
Samsung Internet14.0+
Full support
Internet ExplorerNo support
None
border-inlineWidely supported
Bottom line: Safe for modern sites and multilingual layouts. Prefer logical borders when writing mode or direction can change. It is not a runtime API.
Remember
Key Takeaways
Role: one shorthand for width, style, and color on both inline sides.
Style first: without a visible style, width and color do nothing.
Logical: maps to left/right or top/bottom based on writing mode.
Style required. Not inherited. Pair with border-block for the other axis.
One line:border-inline: 4px solid black; draws matching borders on the inline axis — after you include a style.
Frequently Asked Questions
It is a logical shorthand that sets border-inline-width, border-inline-style, and border-inline-color on both the inline-start and inline-end sides at once.
A border needs a visible style. The initial style is none, so width or color alone will not draw a line. Use solid, dashed, dotted, or another style.
border-left and border-right always target physical left and right. border-inline follows writing-mode and direction, so the same rule works in LTR, RTL, and vertical layouts.
Yes. One declaration styles inline-start and inline-end together. For different sides, use border-inline-start and border-inline-end.
Use border-block for the block-start and block-end sides. Together, border-block and border-inline cover all four logical edges.
It is Baseline Widely available since April 2021: Chrome 87+, Firefox 66+, Safari 14.1+, and Edge 87+. Internet Explorer does not support it. It is a browser CSS property, not a Node.js feature.