我在xcode中使用了iOS模拟器包含了两张图片,但这也是它在iPad转身肖像上的样子 . 在第一张图片中,您可以看到底部栏被切掉 . 第二个已向下滚动,这实际上是在iPad上加载此页面时的起始位置 . 有没有人知道为什么只有iPad在浏览器中显示时会显示如此(即,条形分别附加到 top:0
和 bottom: 0
)
这是酒吧的css .
.bars {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
width:100%;
left:0px;
height:54px;
box-shadow:0px 1px 4px #444;
background:white;
z-index:100;
}
#top{
position:fixed;
top:0px;
min-width:0px;
}
#bottom{
position:absolute;
z-index:100;
bottom:0px;
}