去掉ios下拉空白
给父元素加css属性
position:fixed;top:0;bottom:0;widht:100%;height:100%;overflow:hidden
本文介绍了一个CSS技巧来消除iOS设备上的页面下拉时出现的空白区域。通过给父元素添加`position:fixed; top:0; bottom:0; width:100%; height:100%; overflow:hidden;`样式,可以有效地隐藏滚动时出现的空白部分,确保页面内容的流畅显示。
去掉ios下拉空白
给父元素加css属性
position:fixed;top:0;bottom:0;widht:100%;height:100%;overflow:hidden

被折叠的 条评论
为什么被折叠?