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

-moz-border-radius-topleft property | -webkit-border-top-left-radius property

Browser support:
-moz-border-radius-topleft:
-webkit-border-top-left-radius:
Sets the rounding of the upper left corner of the border.
JavaScript page for this property: MozBorderRadiusTopleft | webkitBorderTopLeftRadius. You can find other example(s) there.

Possible values:

 One of the following values: 
inherit
Takes the value of this property from the computed style of the parent element.
radius in non-negative length
The radius of the top-left 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-topleft and the -webkit-border-top-left-radius properties:
<head>
    <style>
        .example {
            border: 3px solid red;
            -moz-border-radius-topleft: 30px;
            -webkit-border-top-left-radius: 30px;
        }
    </style>
</head>
<body>
    <div class="example">
        Border with top-left rounded corner
    </div>
</body>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content