CSS · Properties — CSS Backgrounds and Borders
border-style
The CSS border-style property. Initial value: border-top-style,border-right-style,border-bottom-style,border-left-style. Not inherited.
Syntax
border-style: <line-style>{1,4}Example
Try it
Notes
Media: visual. Applies to: allElements. Computed value: border-top-style,border-right-style,border-bottom-style,border-left-style.
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.