Jquery mobile jquery移动响应图像模板
首先,很抱歉,因为我刚刚开始使用jquery mobile和响应式设计 我正在尝试使用jquery mobile构建一个模板,用于创建移动应用程序 问题在于手机和平板电脑的尺寸 我的测试看起来不像我想要的。我想在图像中建立一些类似的显示 有谁能告诉我如何为不同大小的手机和平板电脑做到这一点 非常感谢 像这样 代码很少 CSS: HTML:Jquery mobile jquery移动响应图像模板,jquery-mobile,responsive-design,Jquery Mobile,Responsive Design,首先,很抱歉,因为我刚刚开始使用jquery mobile和响应式设计 我正在尝试使用jquery mobile构建一个模板,用于创建移动应用程序 问题在于手机和平板电脑的尺寸 我的测试看起来不像我想要的。我想在图像中建立一些类似的显示 有谁能告诉我如何为不同大小的手机和平板电脑做到这一点 非常感谢 像这样 代码很少 CSS: HTML: 使用网格而不是表格。检查jquery移动网格系统或使用任何第三方插件 .box { max-width:500px; width:100%;
使用网格而不是表格。检查jquery移动网格系统或使用任何第三方插件
.box {
max-width:500px;
width:100%;
min-height:200px;
background-color:green;
margin:5px;
margin-left:auto;
margin-right:auto;
}
.bottom-left, .bottom-right {
width:50px;
height:50px;
position:absolute;
background-color:green;
}
.bottom-left {
bottom:5px;
}
.bottom-right {
bottom:5px;
right:5px;
}
<div class="box"></div>
<div class="box"></div>
<div class="bottom-left"></div>
<div class="bottom-right"></div>