Syntax | selector {outline-width: value ;}
|
---|---|
Usage | The outline-width property is used to specify the width 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 length, or a keyword, according to the syntax shown above. |
Keywords |
|
Applies To | All elements |
Inherited | No |
Initial Value | medium |
The outline-width properties are set using a length for the <h1> element and a keyword for the <h2> element. |