Visit Mozilla.org

CSS:-moz-outline-offset

From MDC

« CSS Reference « CSS Reference:Mozilla Extensions

[edit] Summary

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

The space will be transparent (the parent will determine the background).

[edit] Syntax

-moz-outline-offset: <number> | inherit

[edit] Values

<number>
The width of the space.

[edit] Related properties

[edit] Examples

hbox.example {
  /* Move the outline 2px away from the border */
  -moz-outline-offset: 2px;
}

[edit] See also

outline, outline-width, outline-style, outline-color, outline-offset, -moz-outline, -moz-outline-color, -moz-outline-radius, -moz-outline-radius-topleft ,-moz-outline-radius-topright, -moz-outline-radius-bottomleft, -moz-outline-radius-bottomright, -moz-outline-style, -moz-outline-width, -moz-outline-offset