border-inline-end-width
Defines the thickness of the logical 'end' border. Replaces 'border-right-width' to ensure the boundary stays on the correct side regardless of text direction.
It is documented as part of the CSS Logical Properties and Values specification.
Syntax
/* Usage Example */
.next-button {
/* Adds a 4px accent line to the logical right side */
border-inline-end-width: 4px;
border-inline-end-style: solid;
border-inline-end-color: #7c3aed;
}
/* Syntax */
border-inline-end-width: border-top-width;
/* Global values */
border-inline-end-width: inherit;
border-inline-end-width: initial;
border-inline-end-width: revert;
border-inline-end-width: revert-layer;
border-inline-end-width: unset;
border-inline-end-width Browser support
Widely available
Since
2021 95% global usage
This feature is well established and works across many devices and browser versions. It has been available across browsers since 2021.
69+
41+
12.1+
79+