The order in which you specify the style determines the style applied to each side.
ExampleOrderResult
{border-style: double;}All four sidesDouble
{border-style: solid double;}Top and bottom
Right and left
Solid
Double
{border-style: none double solid;}Top
Right and left
Bottom
None
Double
Solid
{border-style: none double solid
none;}
Top
Right
Bottom
Left
None
Double
Solid
None
BORDER-side-WIDTH: fixed-value
specifies the border width of the specified side.
side is one of the following
•TOP
•BOTTOM
•RIGHT
•LEFT
fixed-value
is a number followed by one of the following units of measure:
cmCentimeters
emStandard typesetting measurement ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.