我目前正在研究android移动应用程序,并且遇到了Android移动的图像渲染问题,它的尺寸较小。 Nexus,Samsung等手机的图像看起来很整齐,但屏幕较宽,但图像重叠在较小的屏幕手机上。我使用离子建立我的代码&也包括bootstrap。移动应用程序中的图像渲染
我已经包含在风格上部分下面的代码:
@media only screen and (max-width: 768px) {
/* For mobile phones: */
[class*="col-"] {
width: 100%;
}
下面的代码在身:
<div class="col-xs-12 col-md-12 col-sm-12" >
<div id="journey" class="col-xs-2">
<a href=" "> <img src="./images/launch 48.png" class="img_responsive" style="width:60px;height:70px;padding:5px;position: relative;left:1%;" cursor="pointer" onclick="" /></a>
</div>
<div id="conveyance" class="col-xs-2">
<a href="./4s.html "><img src="./images/launch 48.png" class="img_responsive" style="width:60px;height:70px;padding:5px;" cursor="pointer" /></a>
</div>
<div id="per-diem" class="col-xs-2" >
<a href=" "> <img src="./images/launch 48.png" class="img_responsive" style="width:60px;height:70px;padding:5px;"cursor="pointer" onclick="" /></a>
</div>
<div id="lodging" class="col-xs-2" >
<a href=" "><img src="./images/launch 48.png" class="img_responsive" style="width:60px;height:70px; padding:5px;"cursor="pointer" onclick="" /></a>
</div>
<div id="misc_1" class="col-xs-2" >
<a href=" "><img src="./images/launch 48.png" class="img_responsive" style="width:60px;height:70px; padding:5px;" cursor="pointer" onclick="" /></a>
</div>
<div id="end_journey" class="col-xs-2">
<a href=" "> <img src="./images/launch 48.png" class="img_responsive" style="width:60px;height:70px;padding:5px;"cursor="pointer" onclick="" /></a>
</div>
请您创建一个小提琴重复这个问题? – odedta
你能帮我解释一下你的意思吗? – Shalini
http://jsfiddle.net/ - 重新创建您在该网站的问题,点击保存并粘贴链接。 – odedta