The Resize property can set whether users are allowed to scale the size of elements in a Web page
There are a total of 4 values
None
Vertical
Horizontal
Both
Give me a chestnut.
<!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd "><HTMLxmlns= "http://www.w3.org/1999/xhtml"><Head><Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" /><title>Resize</title><styletype= "Text/css">#resize{background:URL (images/img19.jpg) no-repeat Center;-moz-background-clip:content;-webkit-background-clip:content;Background-clip:content;width:200px;Height:120px;Max-width:800px;Max-height:600px;padding:6px;Border:1px solid Red;Resize:both;Overflow:Auto;}</style></Head><Body><DivID= "Resize"></Div></Body></HTML>
Remember to define the maximum size and control the zoom within a certain range.
The resize of CSS3 combat