The border-inline-width property sets the thickness of both logical inline borders — inline-start and inline-end. It maps to physical edges based on writing-mode, direction, and text-orientation.
In horizontal left-to-right text, those edges are usually left and right, so one declaration covers what border-left-width and border-right-width would do. Use one value for both sides, or two values for start then end. It applies to all elements and is not inherited. Each side starts as medium.
Standard-track.
Not deprecated and not experimental. Logical inline border widths have been widely available since 2021.
border-inline sets width, style, and color together. Writing it after border-inline-width replaces that thickness.
2vals
Order is start, then end
With two values, the first is inline-start and the second is inline-end. Mixing them up flips which edge gets which size.
zero
0 removes both edges
A width of 0 is valid and hides the borders even if style and color are set. Use that on purpose, not by accident.
Compatibility
Browser Support
border-inline-width is a browser layout property. Node.js, Deno, and Bun do not apply it.
✓ Baseline · Widely available since 2021
border-inline-width
Chrome 87+, Firefox 66+, Safari 14.1+, Edge 87+. Internet Explorer has no support.
97%modern browsers
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-inline-widthWidely supported
Bottom line: Safe for modern browsers. For Internet Explorer, use physical fallbacks such as border-left-width and border-right-width when you only need horizontal LTR layouts.
Remember
Key Takeaways
Role: the thickness of both logical inline borders.
medium: the initial value on each side. Pair it with a visible style and color.
One or two values: one sizes both sides; two set start then end.
Pair it: add style and color, or use border-inline.
One line:border-inline-width chooses how thick both inline edges are; writing direction chooses which physical sides those are.
Frequently Asked Questions
It sets the thickness of both logical inline borders — inline-start and inline-end. In horizontal left-to-right text, that is usually the left and right edges.
Each side starts as medium. Browsers typically render medium as about 3px when a visible border style is set.
Yes. One value sets both sides. Two values set inline-start first, then inline-end — for example 5px 12px.
Width alone does not draw a border. You also need a visible border-inline-style such as solid, and a color that contrasts with the background.
border-left-width always targets the physical left edge. border-inline-width sets both inline edges and follows writing-mode and direction.
Chrome 87+, Firefox 66+, Safari 14.1+, and Edge 87+ support it. Internet Explorer does not. It is a browser layout property, not a Node.js feature.