border-inline-start

A shorthand for setting the width, style, and color of the 'start' side border in the inline dimension. It's the logical equivalent of styling a left border.

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

/* Usage Example */
.callout {
  /* Logical equivalent of border-left */
  border-inline-start: 5px solid #6366f1;
  padding-inline-start: 1.5rem;
  background: #f5f3ff;
}

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

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