outline-color

Sets the color of the outline frame.

Syntax

{outline-color: sColor }

Possible values

sColor

String that specifies or receives one or more of the following values:

invert

Default. The reverse of the background color.

color

Any valid CSS color value.

This property has a default value of invert. It is not inherited.

Remarks

A value of invert ensures that the outline is visible regardless of the background color.

Standards Information

Important

This documentation is preliminary and subject to change.

Applies to

a, abbr, acronym, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, embed, fieldset, font, form, frame, hn, hr, i, iframe, img, input type=button, input type=checkbox, input type=file, input type=image, input type=password, input type=radio, input type=reset, input type=submit, input type=text, ins, isindex, kbd, label, li, listing, marquee, menu, nobr, object, ol, p, plaintext, pre, q, s, samp, small, span, strike, strong, sub, sup, table, td, textarea, th, tt, u, ul, var, xmp

See also

Concepts

outline
outline-style
outline-width

Send feedback about this topic to Microsoft. © 2011 Microsoft Corporation. All rights reserved.