Syntax | selector {border-bottom: width style color;}
(OR)
selector {border-bottom: value;}
|
---|---|
Usage | The border-bottom property is used as a shorthand method to specify one or more of the following 3 border-bottom properties all in one place. All 3 of these properties are optional but at least one of them must be specified. Any of these properties that are not specified will automatically be set to their initial value. Since the initial value for the style property is none, the border will not be visible unless style is set to one of the visible styles. |
Keywords |
|
Applies To | All elements |
Inherited | No |
Initial Value |
|
The border-bottom property is set by specifying all 3 values. The border-bottom property is set by only specifying a style. |