Style outlineOffset Property
Style outlineOffset Property
The outlineOffset property is used for specifying the offsets of an outline and drawing it beyond the border edge. An outline is a line around an element and is displayed around the margin of the element. It differs from borders because it does not take up space.
Syntax:-
Its syntax is:- object.style.outlineOffset OR object.style.outlineOffset = length | initial | inherit
Return:-
Its return is:- a string containing the outline-offset property of an element
Further Explanation:-
Value | Description |
---|---|
length | The distance outline is outset from the border edge. |
initial | Sets property to the default value. |
inherit | Inherits property from its parent element. |