Style resize Property
Style resize Property
The resize property is used to define whether an element is resizable by the user or not.
Syntax:-
Its syntax is:- object.style.resize OR object.style.resize = none | both | horizontal | vertical | initial | inherit
Return:-
Its return is:- string having resize property of an element
Further Explanation:-
Value | Description |
---|---|
none | The user cannot resize element. |
both | The user can adjust both height and width of element. |
horizontal | The user can adjust width of element. |
vertical | The user can adjust height of element. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |