Style borderBottomRightRadiusProperty

Style 对象参考手册Style Object

Example

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

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

Try it Yourself »

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 elements!


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"

Property Values

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


Related Articles

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


Style 对象参考手册Style Object

Other Extensions