You are here: Reference > CSS > properties > browser specific extensions > -moz-border-radius-topright

-moz-border-radius-topright property | -webkit-border-top-right-radius property

Browser support:
Sets the rounding of the upper right corner of the border.
JavaScript page for this property: MozBorderRadiusTopright | webkitBorderTopRightRadius. You can find other example(s) there.

Possible values:

 One of the following values: 
Takes the value of this property from the computed style of the parent element.
radius in non-negative length
The radius of the top-right border in length units. For the supported length units, see the length page.
radius in non-negative percentage
The radius is the specified percentage of the width of the object.
Default: 0.

Example HTML code 1:

This example illustrates the use of the -moz-border-radius-topright and the -webkit-border-top-right-radius properties:
        .example {
            border: 3px solid red;
            -moz-border-radius-topright: 30px;
            -webkit-border-top-right-radius: 30px;
    <div class="example">
        Border with top-right rounded corner
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content