![]() |
VOOZH | about |
The outline-style property in CSS is used to set the appearance of the outline of an element. The outline and border of an element are similar, but not the same. The outline does not take space and it is drawn outside the border of an element. Also, the outline is drawn around all four sides of the element by default, and there is no way to alter this.
Syntax:
outline-style: auto|none|dotted|dashed|solid|double|groove|ridge|
inset|outset|initial|inherit;
Property Values:
Syntax:
outline-style: auto;Example:
Output:
👁 CSS Property | outline-style-auto
Syntax:
outline-style: none;Example:
Output:
👁 CSS Property | outline-style-none
Syntax:
outline-style: dotted;Example:
Output:
👁 CSS Property | outline-style-dotted
Syntax:
outline-style: dashed;Example:
Output:
👁 CSS Property | outline-style-dashed
Syntax:
outline-style: solid;Example:
Output:
👁 CSS Property | outline-style-solid
Syntax:
outline-style: double;Example:
Output:
👁 CSS Property | outline-style-double
Syntax:
outline-style: groove;Example:
Output:
👁 CSS Property | outline-style-groove
Syntax:
outline-style: ridge;Example:
Output:
👁 CSS Property | outline-style-ridge
Syntax:
outline-style: inset;Example:
Output:
👁 CSS Property | outline-style-inset
Syntax:
outline-style: outset;Example:
Output:
👁 CSS Property | outline-style-outset
Syntax:
outline-style: initial;Example:
Output:
👁 CSS Property | outline-style-initial
Syntax:
outline-style: inherit;Example:
Output:
👁 CSS Property | outline-style-inherit
Supported Browsers: The browser supported by outline-style property are listed below: