Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 495 Bytes

border-width.md

File metadata and controls

24 lines (18 loc) · 495 Bytes

border-width

The border-width shorthand CSS property sets the width of an element's border.

Values

<line-width>
Defines the width of the border, either as an explicit nonnegative <length> or a keyword. If it's a keyword, it must be one of the following values:
  • thin
  • medium
  • thick

Examples

border-width="0.3em 0 9px"
border-width="thin medium thick 1em"
border-width="2px 10px"
border-width="6px"