我想让用户能够将 DIV 的大小调整为小于其声明的宽度和高度。如何 ?
代码在这里:http: //jsfiddle.net/hW4nn/
HTML
<div class="divClass"></div>
CSS
.divClass {
resize: both;
overflow: auto;
width: 200px;
height: 200px;
border: 1px dotted #000;
}
我想让用户能够将 DIV 的大小调整为小于其声明的宽度和高度。如何 ?
代码在这里:http: //jsfiddle.net/hW4nn/
HTML
<div class="divClass"></div>
CSS
.divClass {
resize: both;
overflow: auto;
width: 200px;
height: 200px;
border: 1px dotted #000;
}