outline-width property
Specifies the width of the outline frame.
![]() ![]() |
Syntax
outline-width: medium | thin | thick
Property values
medium-
Default. About 4px.
thin-
Less than the default width.
thick-
Greater than the default width.
width-
A floating-point number, followed by an absolute units designator (
cm,mm,in,pt, orpc) or a relative units designator (em,ex, orpx). For more information about the supported length units, see CSS Values and Units Reference.
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | no |
| Initial Value |
Standards information
- CSS 2.1, Section 18.4
Remarks
Displaying an outline does not cause reflow, no matter how wide the outline is. The outline frame is drawn over an element, and does not influence the position or size of the box, or of any other boxes.
This property requires Windows Internet Explorer to be in IE8 Standards mode rendering.
See also

