CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

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.




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.

Code Explanation

All Tutorials related to CSS Properties

All Sections related to CSS