<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
*{
padding: 0;
margin: 0;
}
.header{
width: 100%;
height: 550px;
margin: 0 auto;
background: #ADD8E6;
}
.left{
width: 500px;
float: left;
margin-top: 200px;
margin-left: 300px;
}
.right{
width: 500px;
float: right;
margin-top: 200px;
margin-right: 200px;
}
.banner{
width: 100%;
height: 393px;
margin: 0 auto;
background: pink;
}
.banner .left{
width: 30%;
float: left;
margin-top: 200px;
margin-left: 300px;
}
.banner .right{
width: 30%;
float: right;
margin-top: -66px;
margin-right: 40px;
}
.banner .middle{
width: 40%;
float:left;
margin-top: 200px;
margin-left: -80px;
}
</style>
</head>
<body>
<div class="header">
<div class="left">
<img src="http://climg.mukewang.com/58c0f808000129a303600215.jpg">
</div>
<div class="right">
<img src="http://climg.mukewang.com/58c0f819000198a703600214.jpg">
</div>
</div>
<div class="banner">
<div class="left">
<img src="http://climg.mukewang.com/58c0f81d0001fe4402000060.jpg">
</div>
<div class="middle">
<img src="http://climg.mukewang.com/58c0f8220001dfce02000060.jpg">
</div>
<div class="right">
<img src="http://climg.mukewang.com/58c0f8780001c74602000060.jpg">
</div>
</div>
</body>
</html>
效果出来了,就是不知道,怎么自适应,希望大家帮忙一下,小弟!
奋斗好青年
码农2号