CSS border-inline-end-style Property
Description
The border-inline-end-style CSS property controls the style of the border drawn on an element’s inline-axis "end" edge - in other words, the side that corresponds to the end of a line of text in the element’s writing context. Because it is a logical property, the physical side it affects (for example left or right in a horizontal writing mode) depends on the element’s writing direction and orientation. That makes border-inline-end-style especially useful when you want borders to adapt automatically for different languages and layouts without writing separate rules for left/right or start/end.
This property participates in the usual relationship between longhand and shorthand border rules: shorthands that set border styles more broadly will interact with it, and individual side properties can override or be overridden depending on cascade order. For example, a shorthand that specifies styles for all sides can set the inline end style indirectly, while a later-specific rule for the inline end side will replace that value. See the related shorthand and grouped property references for how combined assignments and cascade behavior work: border and border-style.
Because it is a logical property, border-inline-end-style ties into layout direction and writing-mode considerations: the element’s inline axis is determined by properties such as writing-mode and direction, so changes to those can change which physical edge the inline-end style maps to. For authoring internationalized or direction-aware interfaces, using logical border properties (including the inline-start counterpart) reduces duplication and prevents errors when flipping layouts for different scripts; see the counterpart property border-inline-start-style for symmetry when you need to control both inline sides.
In practice, you use border-inline-end-style whenever you need a border style tied to the document’s logical flow rather than a fixed physical side. It works in concert with the rest of the border model (colors, widths and the cascade) so that a complete visible border is the result of style, width and color being set in combination. Because it is not an inherited property, it must be set on each element you want it to affect or be provided via a rule that targets that element specifically; cascade, specificity and the order of declarations determine the final applied style.
Definition
- Initial value
- none
- Applies to
- all elements
- Inherited
- no
- Computed value
- as specified
- Animatable
- yes
- JavaScript syntax
- object.style.borderInlineEndStyle
Interactive Demo
Inline End Style Property
Syntax
border-inline-end-style: <border-style>
Values
- <border-style>Specifies the style of the border
Example
Browser Support
The following information will show you the current browser support for the CSS border-inline-end-style property. Hover over a browser icon to see the version that first introduced support for this CSS property.
This property is supported by all modern browsers.
Desktop
Tablets & Mobile
Last updated by CSSPortal on: 1st January 2026
