Http://www.w3school.com.cn/cssref/pr_resize.asp
Instance
Specifies that the size of the DIV element can be adjusted by the user:
div{ resize:both; Overflow:auto;}
Try it yourself.
Browser support
Firefox 4+, Chrome, and Safari do not support resize.
Definition and usage
The Resize property specifies whether the dimensions of the element can be adjusted by the user.
Note: If you want this property to take effect, you need to set the element's overflow property, which can be auto, hidden, or scroll.
| Default value: |
None |
| Inheritance: |
No |
| Version: |
CSS3 |
| JavaScript Syntax: |
object. style.resize= "both" |
Grammar
resize:none|both|horizontal|vertical;
| value |
Description |
| None |
The user cannot adjust the dimensions of the element. |
| Both |
The user can adjust the height and width of the element. |
| Horizontal |
The width of the element can be adjusted by the user. |
| Vertical |
The height of the element can be adjusted by the user. |
CSS3 Resize Properties