<style>
.father {
padding: 20px;
width: 200px;
height: 50px;
max-width: 800px;
max-height: 800px;
border: 1px solid #000;
overflow: auto;
resize: both;
}
.son {
width: 50px;
height: 20px;
padding: 100px;
background-color: aqua;
}
</style>
<div class="father">
<div class="son">1123</div>
</div>
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。