Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Style borderBottomLeftRadius property

Style borderBottomLeftRadius property

Style Object Reference The Style object

Example

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

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

Try it »


Definition and Usage

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

**Tip:** This property allows you to add rounded borders to an element!


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"

Attribute values

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

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:The border-bottom-left-radius property


Style Object Reference The Style object