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

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

1.用fixed定位来解决

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

原文地址:https://www.cnblogs.com/enych/p/13615976.html