Style borderTopRightRadius Property
Style borderTopRightRadius Property
The borderTopRightRadius property is used to either set or return the shape of the border of the top-right corner. It helps us to add rounded borders to elements.
Syntax:-
Its syntax is:- object.style.borderTopRightRadius OR object.style.borderTopRightRadius = length|%|initial|inherit
Return:-
Its return is:- string having border-top-right-radius property of an element
Further Explanation:-
Value | Description |
---|---|
length | Defines shape of the top-right corner. |
% | Defines shape of the top-right corner in %. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |