border-left-style

Determines the line style (solid, dashed, etc.) of the physical left border. Without a set style, the border won't appear even if you give it a width.

Quick example

.dashed-left {
  /* Physical left border style */
  border-left-style: dashed;
  border-left-width: 2px;
  border-left-color: #ccc;
}

Quick facts

Initial value
none
Inherited
No
Applies to
all elements
Animation type
discrete

border-left-style Browser Support

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.

Safe to use without fallbacks.

1+
1+
1+
12+
ESC