border-width

stroke width of the element's border

Example

1

Description

stroke width of the element's border

This is a shortcut property that can set up to all four border width properties in one statement. The number of values given determines which borders are affected. 4 values: top, right, bottom, left 3 values: top, right and left, bottom 2 values: top and bottom, right and left 1 value: all four borders

Values

Value Description
Values
lengtha CSS length value (in pixels, ems, inches, etc.)
mediuma medium border (as determined by browser)
thicka thick border (as determined by browser)
thina thin border (as determined by browser)