The CSS ‘border-inline-width‘ property sets the width of the borders along the inline start and inline end sides of an element. As part of the CSS Logical Properties, it facilitates border width adjustments that respect the writing mode and directionality of the document, ensuring that border widths are applied consistently across languages and scripts.
CSS ‘border-inline-width’ Property Examples
See the Pen CSS ‘border-inline-width’ Property by Webzstore (@webzstore) on CodePen.
The ‘border-inline-width‘ property enhances the capability for creating flexible, direction-aware designs, ensuring elements maintain their intended stylistic appearance across various writing systems and layout directions.
Browser Support For ‘border-inline-width’ Property
![]() | ![]() | ![]() | ![]() | ![]() |
| 66.0 | 14.1 | 87.0 | 87.0 | 73.0 |
CSS Syntax of the ‘border-inline-width’ Property
border-inline-width: thin | medium | thick | length | initial | inherit;
Usage of the ‘border-inline-width’ Property
Use ‘border-inline-width‘ to specify the thickness of the borders that run parallel to the direction of text flow within an element. This property is crucial for designs that must be responsive and adaptable to different writing systems, allowing for the dynamic styling of borders in layouts that accommodate left-to-right (LTR), right-to-left (RTL), or vertical text orientations.
Property Values of the ‘border-inline-width’ Property
- Thin: Applies a thin width to the inline borders.
- Medium: Sets a medium thickness for the inline borders, the default value.
- Thick: Specifies a thick width for the inline borders.
- Length: Allows specifying the width with length units (e.g., px, em).
- Initial: Resets the ‘border-inline-width‘ to its default value.
- Inherit: Inherits the ‘border-inline-width‘ from the parent element.






Leave a Reply