Name
border-width
Values:
thin
|medium
|thick
|length
Example:
P.warning { border-width: thin }
Applies to:
All elements
Inherited:
No
This is a shorthand property for specifying the width of the border
for all four sides of the element box. A single value will set the
same border width for all four sides of the box. More than one value
will be interpreted as described for the margin
property (top, right, bottom, left).
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.