Definition and usage
The Outline-style property is used to set the style of the entire outline of an element. The style cannot be none, otherwise the outline does not appear.
A outline (contour) is a line that is drawn around an element, at the periphery of the edge of the bounding rectangle, that acts as an element of prominence. The Outline property sets the contour line around the element.
NOTE: Always declare the Outline-style property before the Outline-color property. An element can change the color of its outline only after it has obtained an outline.
Note: Footprints do not occupy space or are not necessarily rectangles.
To set the style of the outline:
P
{
outline-style:dotted;
}
Browser support
All major browsers support the Outline-style property.
Only in the rules! Internet Explorer supports the Outline-style property when DOCTYPE.
Possible values
inherit specifies that the outline style settings should be inherited from the parent element.