property

Resize — CSS reference

Allows user resizing in both dimensions for eligible boxes. A scrollable overflow box is a practical target; ordinary visible-overflow boxes do not acquire a resize handle just from this declaration. Min/max sizes constrain resizing.

Formal Syntax & Structure

css syntaxcss
resize: both;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>resize</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}#a{resize:both}#a{overflow:auto;min-width:80px;max-width:280px}</style><body><textarea id="a" aria-label="Notes">Notes</textarea></body></html>
CSS Reference