border-style
Values
none
| hidden
| dotted
| dashed
| solid
| double
| groove
| inset
| outset
Applicable to...
All elements
Inherited
No
Description
Defines the style for the whole border of an element. No border will be displayed if the value is hidden
or none
. 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+ |