Resize

The resize CSS property sets if an element can be resized.

CSS Properties

resize

Sets if an element can be resized, and in which direction.

  • nonethe element can't be resized (default)
  • boththe element can be resized in both directions
  • horizontallythe element can be resized in the horizontal direction
  • verticalthe element can be resized in the vertical direction
<textarea id="resize-example">
I can be resized in both direction!
</textarea>
#resize-example {
  resize: both
}
| LIVE PREVIEW

References