border-inline-end-color
Sets the color for the 'end' side of the inline dimension (usually the right border). It ensures the border stays on the 'exit' side of text even if the language direction changes.
It is documented as part of the CSS Logical Properties and Values specification.
Syntax
/* Usage Example */
.next-step {
/* Adds a subtle gray line on the right side */
border-inline-end-color: #cbd5e1;
border-inline-end-style: solid;
border-inline-end-width: 1px;
}
/* Syntax */
border-inline-end-color: border-top-color;
/* Global values */
border-inline-end-color: inherit;
border-inline-end-color: initial;
border-inline-end-color: revert;
border-inline-end-color: revert-layer;
border-inline-end-color: unset;
border-inline-end-color 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+