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.

Informations

# Description
Default Value none
Inherited no
Animatable no
Version CSS3
JavaScript syntax object.style.resize="both"

Browser compatibility and Support

# Chrome Edge Firefox Safari Opera
resize

Syntax

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.