CSS · Properties — CSS Basic User Interface

outline-offset

The CSS outline-offset property. Initial value: 0. Not inherited.

Syntax
outline-offset: <length>

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