设为首页 加入收藏

TOP

图片并列
2019-09-26 18:14:41 】 浏览:41
Tags:图片 并列

 

<!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>

</body>
</html>

】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇前端校招知识体系之HTML5 下一篇vue学习指南:第七篇(详细) - Vue..

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目