CSS3 border-bottom-right-radius
Property
Example
Add a rounded border to the bottom-right corner of a div element:
Browser Support
The numbers in the table specify the first browser version that fully supports the property.
Numbers followed by -webkit-, -ms-, or -moz- specify the first version that worked with a prefix.
Property | |||||
---|---|---|---|---|---|
border-radius | 9.0 | 5.0 <br>4.0 -webkit- | 4.0 <br>3.0 -moz- | 5.0 <br>3.1 -webkit- | 10.5 |
Property Definition and Usage
The border-right-radius property defines the shape of the border at the bottom-right corner.
Tip: This property allows you to add rounded corners to elements!
Default value: | 0 |
---|---|
Inherited: | no |
--- | --- |
Version: | CSS3 |
--- | --- |
JavaScript syntax: | object.style.borderBottomRightRadius="5px" |
--- | --- |
Syntax
Note: The two length or percentage values of the border-right-radius property define the shape of the quarter ellipse that defines the corner of the outer border edge. The first value is the horizontal radius, and the second is the vertical radius. If the second value is omitted, it is copied from the first. If either length is zero, the corner is square, not rounded. Percentages for the horizontal radius refer to the width of the border box, and percentages for the vertical radius refer to the height of the border box.
Value | Description |
---|---|
length | Defines the shape of the bottom-right corner. |
% | Defines the shape of the bottom-right corner using %. |
Related Articles
CSS3 Tutorial: CSS3 Borders