ScanSkill

outline-color

The outline-color property defines the color of an outline.

Syntax

outline-color: invert | value;

Example

        .div-1 , .div-2{
            margin-right: 10px;
            outline-style: solid;
        }

        .div-1 {
            outline-color: invert;
        }

        .div-2 {
            outline-color: red;
        }
outline-color

Property Values

invert: makes sure the outline is visible.

value: sets the given color value as the color of outline.