<div id="v1"></div>
<style type="text/css">
#v1{width: 100px;height: 100px;overflow-y:auto ;}
</style>
规定元素宽高,内容超出则显示滚动条,内容不超出则隐藏滚动条。
最新推荐文章于 2024-08-03 17:05:14 发布
<div id="v1"></div>
<style type="text/css">
#v1{width: 100px;height: 100px;overflow-y:auto ;}
</style>