HTML and CSS Reference
In-Depth Information
Name
outline-color
Values:
<color> |
invert
Initial value:
invert
(see description)
Applies to:
All elements
Inherited:
No
Computed value:
Same as declared value
Description:
Defines the color for the visible portions of the overall outline of an element. Remember that
the value of
outline-style
must be something other than
none
for any visible border to ap-
pear. User agents are permitted to ignore
invert
on platforms that don't support color inver-
sion. In that case, the outline's color defaults to the value of
color
for the element.
Examples:
*[href]:focus {outline-color: invert;}
form:focus {outline-color: cyan;}