Syntax | selector {outline-style: value ;}
|
---|---|
Usage | The outline-style property is used to specify the style of the outline. The outline property generates an outline around the content and border area of the element's box. See the Box Model for a description of the boxes that are generated for elements and the relative position of the content area and borders. Unlike the border property, the outline property is displayed on top of the element's box and it does not influence the size or position of the element's box. This property is specified by using a keyword according to the syntax shown above. |
Keywords |
Note: The outline samples, shown above, may not appear identically in all browsers. |
Applies To | All elements |
Inherited | No |
Initial Value | none |
The outline-style property is set to use a dashed line. |