Property
|
chrome
|
firefox
|
microsoft edge
|
opera
|
border-style
|
1.0
|
1.0
|
4.0
|
3.5
|
Value
|
Description
|
none
|
Specifies no border. This is default
|
hidden
|
The same as "none", except in border conflict resolution for table elements
|
dotted
|
Specifies a dotted border
|
dashed
|
Specifies a dashed border
|
solid
|
Specifies a solid border
|
double
|
Specifies a double border
|
groove
|
Specifies a 3D grooved border. The effect depends on the border-color value
|
ridge
|
Specifies a 3D ridged border. The effect depends on the border-color value
|
inset
|
Specifies a 3D inset border. The effect depends on the border-color value
|
outset
|
Specifies a 3D outset border. The effect depends on the border-color value
|
initial
|
Sets this property to its default value.
|
inherit
|
Inherits this property from its parent element.
|
Default value:
|
none
|
Version:
|
CSS1
|
Inherited
|
no
|
Animatable
|
no
|
JavaScript syntax:
|
object.style.borderStyle="dotted double"
|