resize

The resize CSS property sets whether an element is resizable, and if so, in which directions.

Initial value none
Applies to elements with overflow other than visible, and optionally replaced elements representing images or videos, and iframes

Syntax

  
resize: both;
  

Values

The element offers no user-controllable method for resizing it.
The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
The element displays a mechanism for allowing the user to resize it in the horizontal direction.
The element displays a mechanism for allowing the user to resize it in the vertical direction.
The element displays a mechanism for allowing the user to resize it in the block direction (either horizontally or vertically, depending on the writing-mode and direction value).
The element displays a mechanism for allowing the user to resize it in the inline direction (either horizontally or vertically, depending on the writing-mode and direction value).

Browser support

resizechrome1edge79firefox4ieopera12.1safari3
block_level_supportchrome4edge79firefox5ieopera15safari4
flow_relative_supportchromeedgefirefox63ieoperasafari

We use cookies to improve your experience. Learn more in our Privacy policy.

×