Syntax | selector {border-left: width style color;}
(OR)
selector {border-left: value;}
|
---|---|
Usage | The border-left property is used as a shorthand method to specify one or more of the following 3 border-left 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-left property is set by specifying all 3 values. The border-left property is set by only specifying a style. |