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

HTML DOM Style borderBottomRightRadius property

Style borderBottomRightRadius property

Style Object Reference The Style object

Example

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

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

Try it »


Definition and Usage

The borderBottomRightRadius property sets or returns the shape of the bottom-right 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 borderBottomRightRadius property.


Syntax

Return the borderBottomRightRadius property:

object

.style.borderBottomRightRadius

Set the borderBottomRightRadius property:

object

.style.borderBottomRightRadius="

length

|

%

[

length

|

%

]|initial|inherit"

Attribute values

Value Description
length Defines the shape of the bottom-right corner. The default value is 0.
% Defines the shape of the bottom-right 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-right-radius property.
CSS version CSS3

Related Articles

CSS Reference Manual:The border-bottom-right-radius property


Style Object Reference The Style object