CSS3 border-bottom-left-radius property
Example
Add a rounded border to the bottom-left corner of a div element:
div
{
border:
2
px
solid
;
border-bottom-left-radius:
2
em
;
}
Try it »
Browser support
The numbers in the table indicate the first browser version that supports this property.
A number immediately before -webkit-, -ms-, or -moz- indicates the first browser version that supports that prefixed property.
| property | |||||
|---|---|---|---|---|---|
| border-radius | 9.0 | 5.0 | |||
| 4.0 -webkit- | 4.0 | ||||
| 3.0 -moz- | 5.0 | ||||
| 3.1 -webkit- | 10.5 |
Property definition and usage
The border-bottom-left-radius property defines the shape of the bottom-left border corner.
Tip: This property allows you to add rounded borders to an element!
| Default value: | 0 |
|---|---|
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object object.style.borderBottomRightRadius="5px" |
Syntax
border-bottom-left-radius:
length
|
%
[
length
|
%
];
**Note:** If you set two values, the first is for the bottom border and the second is for the left border. If the second value is omitted, it is copied from the first. When one of the values is 0, the rounded corner is not set and the corner will appear square.
/* 圆形 */
/* border-bottom-left-radius: radius */
border-bottom-left-radius: 3px;
/* 椭圆形 */
/* border-bottom-left-radius: 水平方向 垂直方向 */
border-bottom-left-radius: 0.5em 1em;
border-bottom-left-radius: inherit;
| Value | Description |
|---|---|
| length | Defines the shape of the bottom-right corner. |
| % | Use % to define the shape of the bottom-right corner. |
Related Articles
CSS3 tutorial: CSS3 Borders