Example
A simple resize property example:
Laboratory
description & Usage
When the user causes an element to change size, she has actually used the resize property.
Browser compatibility and Support
| # |
Chrome |
Edge |
Firefox |
Safari |
Opera |
| resize |
|
|
|
|
|
Values
| Values |
Description |
|
none
|
Default
|
|
both
|
The user can change the height and width.
|
|
horizontal
|
The user can change the size of the width of the element.
|
|
vertical
|
The user can resize the height of the element.
|
|
initial
|
Adds this value to its default property.
|
|
inherit
|
It inherits this value from its parent tag.
|