CSS border-bottom

The CSS border-bottom property allows you to set all styles of a bottom border (hence "border bottom").
Syntax: border-bottom: <border-style1>, <border-style2> ...
Possible Values:
  • <border-width>
  • <border-style>
  • <border-color>
  • inherit
Initial Value: See individual properties
Applies to: All elements.
Inherited: No
Media: Visual
Example: div.border-style {border-bottom: 2px dotted #ff9900}
Try it yourself!