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.
It is documented as part of the CSS Backgrounds and Borders specification.
Syntax
/* Usage Example */
.dashed-left {
/* Physical left border style */
border-left-style: dashed;
border-left-width: 2px;
border-left-color: #ccc;
}
/* Global values */
border-left-style: inherit;
border-left-style: initial;
border-left-style: revert;
border-left-style: revert-layer;
border-left-style: unset;
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.
1+
1+
1+
12+