Example
A simple border-style property example:
Laboratory
description & Usage
We determine the style and framing mode with the border-style property.
Browser compatibility and Support
# |
Chrome |
Edge |
Firefox |
Safari |
Opera |
border-style |
|
|
|
|
|
Values
Values |
Description |
none
|
No margin is set.
|
hidden
|
Defines an invisible margin.
|
dotted
|
Specifies a dotted border.
|
dashed
|
Specifies a border with dashed lines.
|
solid
|
Defines a border with a straight line.
|
double
|
Sets the double margin.
|
groove
|
Defines a 3D grooved border.
|
ridge
|
Defines a 3D dashed border.
|
inset
|
Defines the inner 3D border.
|
outset
|
Specifies the initial 3D border.
|
initial
|
Adds this value to its default property.
|
inherit
|
It inherits this value from its parent tag.
|