CSS border width Property
CSS border-width Property
The border-width property is used for setting the width of an element four borders. This property can have from one to four values.
For your Information:-
If only one width is specified then it is applied to all four borders.
If two widths are specified, then the first one will be applied on the top and bottom and the second one will be applied on the right and left.
If three widths are specified, then the first one will be applied on the top border and the second one will be used on the right and left borders and the third one will be applied on the bottom.
If all four widths are specified, each will be applied to each border in the sequence.
Its default value is medium.
Its syntax is:- border-width: medium | thin | thick | length | initial | inherit;
|medium||Specifies a medium border.|
|thin||Specifies a thin border|
|thick||Specifies a thick border|
|length||Allows you to define the thickness of the border.|
|initial||Sets this property to its default value.|
|inherit||Inherits this property from its parent element.|