border-width
Values
thin
| medium
| thick
| <length>
Applicable to...
All elements
Inherited
No
Description
Defines the width for the whole border of an element. If the border-style
is none
the border width is reset to 0. This property has extra variants for top, bottom, left and right.
Examples
Compatibility
Chrome | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|
1.0+ | 1.0+ | 4.0+ | 3.5+ | 1.0+ |