border-left-width

Controls the thickness of the physical left border. It can take keyword values like 'thin' or 'thick', but specific pixel values are most common.

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

/* Usage Example */
.thick-left {
  /* Physical left border thickness */
  border-left-width: 10px;
  border-left-style: solid;
  border-left-color: #eee;
}

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