我有同样的问题.我的身体上有一个固定的元素,这是非常错误的.对我来说,height:auto;而不是height:100%工作.完整代码:
body,
html{
position:absolute;
top:0;
left:0;
width:100%;
height:auto; /* iOS position:fixed; elements fix (not 100%) */
min-height:100%;
overflow-x:hidden;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
14772 次 |
| 最近记录: |