concept
Resizable overflow box — CSS reference
A resizable box needs an eligible overflow mode. Use size constraints to keep its content usable. The example is a scrollable region with a minimum width.
Formal Syntax & Structure
css syntaxcss
overflow: auto; resize: both;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Resizable overflow box</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}#a{overflow:auto;resize:both;width:160px;min-width:100px;height:80px}</style><body><div id="a">Drag the lower corner to resize this region.</div></body></html>