outline-width

The CSS outline-width property sets the thickness of an element's outline. An outline is a line that is drawn around an element, outside the border.

Example

Initial value medium
Applies to all elements

Syntax

  
outline-width: 2em;
  

Values

The width of the outline specified as a .
Depends on the user agent. Typically equivalent to 1px in desktop browsers (including Firefox).
Depends on the user agent. Typically equivalent to 3px in desktop browsers (including Firefox).
Depends on the user agent. Typically equivalent to 5px in desktop browsers (including Firefox).

Browser support

outline-width1121.5871.2

We use cookies to improve your experience. Learn more in our Privacy policy.

×