【发布时间】:2013-04-05 07:37:23
【问题描述】:
我对 Phonegap 的背景有疑问
我也在使用 JQuery 移动版
这是我生成背景的css代码
html, body {
top: 0px;
left: 0px;
height: 100%;
width: 100%;
}
.ui-page{
top: 0px;
left: 0px;
background: url('../img/bg.jpg') 0 0 no-repeat fixed !important;
background-size: auto 100%;
height: 100%;
width: 100%;
font-family: MankSans;
background-position:fixed;
background-color:#102a3e;
}
当我在页面中滚动时,我的背景停留在顶部,但我的背景未获取的部分保持白色,我不明白为什么
感谢您的帮助
【问题讨论】:
标签: css cordova background