border-left
A shorthand for setting the physical left border's width, style, and color in one line. Perfect for adding a simple vertical line to the side of an element.
Quick example
blockquote {
/* physical shorthand: width | style | color */
border-left: 5px solid #7c3aed;
padding-left: 1rem;
} Quick facts
Initial value
See individual propertiesInherited
No
Applies to
all elements
border-left 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+