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.

/* 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;
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+
Kinsta

Your first month is free

Managed WordPress hosting for faster sites.

Learn more

New CSS drops.

Join 600+ readers who've survived clearfix hacks.

ESC