CSS outline style Property
CSS outline-style Property
The outline-style property is used to specify the style of an outline. It is a line that is drawn around elements that are outside the borders and that makes the element stand out.
Default Value:-
Its default value is none.
Syntax:-
Its syntax is:- outline-style: none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset | initial | inherit;
Further Explanation:-
Value | Description |
---|---|
none | Specifies no outline. |
hidden | Specifies a hidden outline |
dotted | Specifies a dotted outline |
dashed | Specifies a dashed outline |
solid | Specifies a solid outline |
double | Specifies a double outliner |
groove | Specifies a 3D grooved outline. |
ridge | Specifies a 3D ridged outline. |
inset | Specifies a 3D inset outline. |
outset | Specifies a 3D outset outline. |
initial | Sets this property to its default value. |
inherit | Inherits this property from its parent element. |