Visit Mozilla.org

CSS:-moz-outline-color

From MDC

« CSS Reference « CSS Reference:Mozilla Extensions

[edit] Summary

In Mozilla applications, -moz-outline-color is used to set the color of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out:

Starting with Mozilla 1.8 / Firefox 1.5, the standard CSS 2.1 outline-color property is supported as well. Use of outline-color is preferred to -moz-outline-color.

[edit] Syntax

-moz-outline-color: <color> | invert | inherit

[edit] Values

<color>
The color to set the outline, either a name (red), rgb value (rgb(255,0,0)), or a hex value (#FF0000).
invert
To ensure the outline is visible, performs a color inversion of the background.

[edit] Related properties

[edit] Examples

hbox.example {
  /* make the outline red */
  -moz-outline-color: #FF0000;
}