border-inline-end

A shorthand for setting the width, style, and color of the 'end' side border in the inline dimension. It's the logical successor to 'border-right'.

It is documented as part of the CSS Logical Properties and Values specification.

/* Usage Example */
blockquote {
  /* Logical equivalent of border-right */
  border-inline-end: 4px solid #7c3aed;
  padding-inline-end: 1rem;
}

/* Syntax */
border-inline-end: border-top-width;
border-inline-end: border-top-style;

/* Global values */
border-inline-end: inherit;
border-inline-end: initial;
border-inline-end: revert;
border-inline-end: revert-layer;
border-inline-end: 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