See outline (p. 261) for more
information about outlines.
Note that an outline will only show
when outline-style has been set with
a value other than none.
Value
outline-color accepts any valid CSS
color value, as well as the keyword invert. invert does as its name suggests: it
performs a pixel-color inversion of the outline in order that the outline remains
visible regardless of any background colors that have been set. As of CSS2.1, user
agents have been allowed to ignore the invert value, and instead use the element??™s
color property.
Example
This style rule assigns a red outline color
on focus to anchor elements within the
element with ID "example":
#example a:focus {
outline-color: red;
outline-style: solid;
}
Compatibility
SPEC
version initial inherited
CSS2,2.1 invert NO
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1.5+ IE7
FULL FULL FULL NONE
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full Full Full Full Full Full None None None None
Internet Explorer for Windows (up to and including version 7) and Firefox 1.
Pages:
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397