欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  web前端

怎么锁定可视区域?_html/css_WEB-ITnose

程序员文章站 2022-06-03 15:36:52
...




全屏div





打开遮罩
aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa

aaa
aaa

aaa
aaa

aaa

aaa

aaa

aaa
aaa
aaa

aaa

aaa

aaa

aaa








点击打开遮罩时,可视区变色并且锁定,滚动条不能下拉


回复讨论(解决方案)

全屏div打开遮罩点击打开遮罩时,可视区变色并且锁定,滚动条不能下拉
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa
aaa