Name
border-top-width, border-right-width, border-bottom-width, border-left-width
Values:
thin
|medium
|thick
|length
Example:
P.sidebar { border-right-width: medium; border-bottom-width: thick }
Applies to:
All elements
Inherited:
No
These properties specify the border widths of the respective sides of
an element’s box. The keywords thin
,
medium
, and thick
will be
interpreted by the browser and are consistent throughout the document
(i.e., they are not affected by the font size of the element). You
can also specify a length unit.
Get Web Design in a Nutshell 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.