CSS outline-offset property

CSS outline-offset

CSS outline-offset is used to set space between the outline and the element or its border.

An outline is nothing but a line that is drawn around an element, outside the border edge.

The space between an element and its outline will be transparent.


Try Yourself