溢出:隐藏应用于< body>工作在iPhone Safari? [英] Does overflow:hidden applied to <body> work on iPhone Safari?

查看:210
本文介绍了溢出:隐藏应用于< body>工作在iPhone Safari?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否将 overflow:hidden 应用于< body> 似乎不是。
我不能在整个网站上创建一个包装器来实现...

Does overflow:hidden applied to <body> work on iPhone Safari? It seems not. I can't create a wrapper on the whole website to achieve that...

你知道解决方案吗?

例如:我有一个长页,只是我想隐藏的内容,fold下面,它应该工作在iPhone / iPad。

Example: I have a long page, and simply I want to hide the content that goes underneath the "fold", and it should work on iPhone/iPad.

推荐答案

.wrapper{
position:relative; //that's it
overflow:hidden;
}

这篇关于溢出:隐藏应用于&lt; body&gt;工作在iPhone Safari?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆