You are here: Reference > CSS > properties > browser specific extensions > -moz-outline

-moz-outline property

Browser support:
Sets the outline of the element.
Deprecated and the support for it has been removed in Firefox 3.6. Use the cross-browser outline property instead.
JavaScript page for this property: MozOutline. You can find other example(s) there.

Possible values:

 One of the following values: 
 Any of the following values (use the space character to separate them, each value can be used only once): 

Description of values:

Sets the color of the outline.
Sets the style of the left, right, top, and bottom borders of the object.
Sets the width of the outline.
Takes the value of this property from the computed style of the parent element.
Default: this property has no default value.

Example HTML code 1:

This example illustrates the use of the -moz-outline property:
        .example {
            -moz-outline: 5px solid blue;
            border: 5px solid black;
    <div class="example">Outline and border</div>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content