CSS property: border-bottom
The border-bottom property is a shorthand property used to set any or all of the color, style, and width properties for the bottom border. Properties can be listed in any order.
Property values
Value |
Description |
|---|---|
[ border-bottom-color | border-bottom-style | border-bottom-width ] |
This value is a whitespace-separated list of values for the border-bottom-color, border-bottom-style, and border-bottom-width properties. You can set from one to three values. Properties can be listed in any order. See the descriptions of the individual properties for more information about valid values. |
inherit |
This value specifies that the element inherits the border-bottom property of the containing element. |