【发布时间】:2014-03-20 12:52:18
【问题描述】:
我用过Jquery Mobile。我添加了这样的背景图片<body background ="6.jpg">。
我想让背景图片具有响应性。我应该遵循什么流程才能使其响应?请提出建议。
更新
我试过用这个
body {
background: url(6.jpg) ;
background-size:cover;
}
.ui-page {
background: transparent;
background-repeat: no-repeat;
}
.ui-content{
background: transparent;
}
点击此链接Stacjoverflow
但是失败了。图片的宽度是响应式的,但高度比原始图片太小了。
【问题讨论】:
标签: jquery-mobile background-image