border-left-color

Sets the color of the left border. While logical properties like 'border-inline-start-color' are often preferred for modern apps, this remains the standard way to target the physical left side specifically.

It is documented as part of the CSS Backgrounds and Borders specification.

/* Usage Example */
.sidebar-accent {
  /* Sets only the left border color */
  border-left-color: #3b82f6;
  border-left-style: solid;
  border-left-width: 4px;
}

/* Global values */
border-left-color: inherit;
border-left-color: initial;
border-left-color: revert;
border-left-color: revert-layer;
border-left-color: unset;
Widely available Since 2015 96% global usage

This feature is well established and works across many devices and browser versions. It has been available across browsers since 2015.

1+
1+
1+
12+
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