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