CSS · Properties — CSS Backgrounds and Borders
border-width
The CSS border-width property. Initial value: border-top-width,border-right-width,border-bottom-width,border-left-width. Not inherited.
Syntax
border-width: <line-width>{1,4}Example
Try it
Notes
Media: visual. Applies to: allElements. Computed value: border-top-width,border-right-width,border-bottom-width,border-left-width.
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.