Name

outline-width

Synopsis

This property sets the width for the overall outline of an element. The width will take effect only for a given outline if the outline’s style is something other than none. If the style is none, then the width is effectively reset to 0. Negative length values are not permitted.

Values:

thin | medium | thick | <length> | inherit

Initial value:

medium

Applies to:

all elements

Inherited:

no

Computed value:

absolute length; 0 if the style of the border is none or hidden

Get Cascading Style Sheets: The Definitive Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.