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.

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