ScanSkill

outline-offset

The outline-offset defines the transparent margin between the outline and the border of an element.

Syntax

outline-offset: value;

Example

        .div-1 , .div-2{
            outline: 2px solid red;
        }

        .div-1 {
            outline-offset: 10px;
        }

        .div-2 {
            outline-offset: 20px;
        }
outline-offset

Property Values

value: sets the given length value as the offset value.