Visit Mozilla.org

CSS:-moz-outline-radius

From MDC

« CSS Reference « CSS Reference:Mozilla Extensions

[edit] Summary

In Mozilla applications, -moz-outline-radius can be used to give outlines rounded corners. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out:

[edit] Syntax

-moz-outline-radius: <outline-radius>{1,4} | inherit ;

[edit] Values

<outline-radius> represents one of:

<length> 
a length
<percentage> 
a percentage, relative to the width of the box

Then the 4 values are used in the order top-left, top-right, bottom-right, and bottom-left. If fewer than 4 values are given, the list of values is repeated to fill the remaining values.

[edit] Related properties

[edit] Examples

hbox.example {
  -moz-outline: #000000 solid 10px;
  width: 500px;
  height: 500px;
  /* the outline will curve into a 'D' */
  -moz-outline-radius: 10px 200px 200px 10px;
}

[edit] Known bugs

These bugs are the same as -moz-border-radius.