overflow-y: scroll;
max-height: 70vh;
如:
<div style="overflow-y: scroll; max-height: 70vh;">
内容可上下滑动
</div>
css上下滑动
最新推荐文章于 2024-05-11 11:24:23 发布
overflow-y: scroll;
max-height: 70vh;
如:
<div style="overflow-y: scroll; max-height: 70vh;">
内容可上下滑动
</div>