CSS · Properties — CSS Basic User Interface

outline-width

The CSS outline-width property. Initial value: medium. Not inherited.

Syntax
outline-width: <line-width>

Example

Try it

Notes

Media: visual,interactive. Applies to: allElements. Computed value: absoluteLengthSnappedAsLineWidth.

More in this group

appearance caret caret-animation caret-color caret-shape field-sizing interactivity interest-delay

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course