HTML Dog
Skip to navigation

CSS Property: outline-color

The color of the outline around a box.

Possible Values

ValueNoteExample
[color]#f00
invertInverts the colors of the pixels that the outline covers. Not widely supported.
inherit
initial
unset

Example


.ferrari { outline-color: red; }

Browser support

Can I Use outline? Data on support for the outline feature across the major browsers from caniuse.com.