禁止ios浏览器页面上下滚动 (橡皮筋效果)

转自: https://blog.csdn.net/qq_40717869/article/details/81749970

1.用fixed定位来解决

解决思路:这个就是把html,body设置width: 100%; height: 100%; position: fixed;top:0;left:0;

 

posted @ 2020-09-04 20:08  enych  阅读(1348)  评论(0编辑  收藏  举报