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