CSS outline-offset Property

The outline-offset CSS property The property specifies the amount of space between an outline and an element's edge or border. An outline is a line that is drawn around elements that are not on the border edge. The area between the element and its outline is clear. Furthermore, the outline may be non-rectangular. The default setting is 0.




Property Values

Value Description
length The distance between the outline and the border edge. The default value is zero.
initial This property is set to its default value.
inherit This property is inherited from its parent element.

Supported Browsers

Property Chrome Firefox Safari Edge / IE Opera
outline-offset 4.0 3.5 3.1 15.0 10.5