Border Width (Thickness)
The thickness of the rule is controlled with one of the
border width properties. As we’ve seen for margin
and border-style
, you can control the width of
each individual side or use the border-width
shorthand property to specify
several sides at once. The shorthand values are provided in clockwise
(top, right, bottom, left) order and replicate as described for the
margin
shorthand property earlier in
this chapter.
Get Web Design in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.