Style borderBottomLeftRadiusProperty

Style 对象参考手册Style Object

Examples

Add rounded corners to the bottom-left corner of a div element:

document.getElementById("myDIV").style.borderBottomLeftRadius="25px";

Try it Yourself »

Definition and Usage

The borderBottomLeftRadius property sets or returns the shape of the bottom-left border corner.

Tip:This property allows you to add rounded corners to elements!


Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

IE9+, Firefox, Chrome, Safari, and Opera support the borderBottomLeftRadius property.


Syntax

Return the borderBottomLeftRadius property:

object.style.borderBottomLeftRadius

Set the borderBottomLeftRadius property:

object.style.borderBottomLeftRadius="length|% [length|%]|initial|inherit"

Property Values

Value Description
length Defines the shape of the bottom-left corner. Default value is 0.
% Defines the shape of the bottom-left corner in %.
initial Sets this property to its default value. Seeinitial。
inherit Inherits this property from its parent element. Seeinherit。

Technical Details

Default Value: 0
Return Value: A string, representing the element's border-bottom-left-radius property.
CSS Version CSS3


Related Articles

CSS Reference Manual:border-bottom-left-radius property


Style 对象参考手册Style Object

Other Extensions