图片并列_童谣_前端开发者

 

   

<!DOCTYPE html>

<!DOCTYPE html>

<html>
<head>
<meta charset=”UTF-8″>
<title>图片并排排列</title>
<style>
.xd-box{
width: 1100px;
margin: 0px auto;
position: relative;
}
.xd1_kuang{
position: relative;
margin-top: 100px;
padding: 20px 45px;
border: 1px solid #ddd;
}
.xd1_kuang h2{
width: 156px;
text-align: center;
background-color: #fff;
position: absolute;
left: 455px;
top: -40px;
font-size: 25px;
}

.row-advantage {
margin: 0 auto;
text-align: center;
margin-top: 0px;
}
.col-advantage {
width: 170px;
display: inline-block;
margin: 0 -2px;
text-align: center;
vertical-align: middle;
}

.col-advantage img {
width: 50px;
height: 50px;
}
</style>
</head>
<body>
<div class=”xd-box”>
<div class=”xd1_kuang” style=”padding: 20px 0;”>
<h2>合作伙伴</h2>
<div class=”row-advantage m0″>
<div class=”col-advantage w17″ >
<img src=”img/yun.png” alt=”” style=”width: 77%;height: 100%;”>
</div>
<div class=”col-advantage w17″>
<img src=”img/chat.png” alt=”” style=”width: 63%;height: 100%;”>
</div>
<div class=”col-advantage w17″>
<img src=”img/zhaos.png” alt=”” style=”width: 84%;height: 100%;”>
</div>
<div class=”col-advantage w17″>
<img class=”p-bt” src=”img/baid.png” alt=”” style=”width: 68%;height: 100%; margin-top: 10px;”>
</div>
<div class=”col-advantage w17″>
<img src=”img/tout.png” alt=”” style=”width: 68%;height: 100%;”>
</div>
<div class=”col-advantage w17″>
<img src=”img/douy.png” alt=”” style=”width: 60%;height: 100%;”>
</div>
</div>
</div>
</div>
</div>

<html>
<head>
<meta charset=”UTF-8″>
<title>图片并排排列</title>
<style>
.xd-box{
width: 1100px;
margin: 0px auto;
position: relative;
}
.xd1_kuang{
position: relative;
margin-top: 100px;
padding: 20px 45px;
border: 1px solid #ddd;
}
.xd1_kuang h2{
width: 156px;
text-align: center;
background-color: #fff;
position: absolute;
left: 455px;
top: -40px;
font-size: 25px;
}

.row-advantage {
margin: 0 auto;
text-align: center;
margin-top: 0px;
}
.col-advantage {
width: 170px;
display: inline-block;
margin: 0 -2px;
text-align: center;
vertical-align: middle;
}

.col-advantage img {
width: 50px;
height: 50px;
}
</style>
</head>
<body>
<div class=”xd-box”>
<div class=”xd1_kuang” style=”padding: 20px 0;”>
<h2>合作伙伴</h2>
<div class=”row-advantage m0″>
<div class=”col-advantage w17″ >
<img src=”img/yun.png” alt=”” style=”width: 77%;height: 100%;”>
</div>
<div class=”col-advantage w17″>
<img src=”img/chat.png” alt=”” style=”width: 63%;height: 100%;”>
</div>
<div class=”col-advantage w17″>
<img src=”img/zhaos.png” alt=”” style=”width: 84%;height: 100%;”>
</div>
<div class=”col-advantage w17″>
<img class=”p-bt” src=”img/baid.png” alt=”” style=”width: 68%;height: 100%; margin-top: 10px;”>
</div>
<div class=”col-advantage w17″>
<img src=”img/tout.png” alt=”” style=”width: 68%;height: 100%;”>
</div>
<div class=”col-advantage w17″>
<img src=”img/douy.png” alt=”” style=”width: 60%;height: 100%;”>
</div>
</div>
</div>
</div>
</div>

</body>
</html>

</body>
</html>

» 本文来自:前端开发者 » 《图片并列_童谣_前端开发者》
» 本文链接地址:https://www.rokub.com/73383.html
» 您也可以订阅本站:https://www.rokub.com
赞(0)
64K

评论 抢沙发

评论前必须登录!