<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>内联</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
.header{
width: 5000px;
height: 100px;
background-color: aquamarine;
margin: 0 auto;
}
.content{
width: 2500px;
height: 500px;
background-color: brown;
margin: 10px auto;
}
.category {
width: 2500px;
height: 150px;
background-color: blue;
margin: 10px auto;
}
.dm-content{
width: 2500px;
height: 800px;
background-color: darkgreen;
margin: 10px auto;
}
.left{
width: 500px;
height: 100%;
background-color: coral;
float: left;
}
.right{
width: 1980px;
height: 100%;
background-color: chartreuse;
float: right;
}
.dm-content2{
width: 2500px;
height: 800px;
background-color: darkgreen;
margin: 10px auto;
}
.left2{
width: 500px;
height: 100%;
background-color: coral;
float: left;
}
.right2{
width: 1980px;
height: 100%;
background-color: chartreuse;
float: right;
}
.dm-content3{
width: 2500px;
height: 800px;
background-color: darkgreen;
margin: 10px auto;
}
.left3{
width: 500px;
height: 100%;
background-color: coral;
float: left;
}
.right3{
width: 1980px;
height: 100%;
background-color: chartreuse;
float: right;
}
.dm-content4{
width: 2500px;
height: 800px;
background-color: darkgreen;
margin: 10px auto;
}
.left4{
width: 500px;
height: 100%;
background-color: coral;
float: left;
}
.right4{
width: 1980px;
height: 100%;
background-color: chartreuse;
float: right;
}
.footer{
width: 5000px;
height: 350px;
background-color: black;
margin: 0 auto;
}
</style>
</head>
<body>
<div class="header"></div>
<div class="content"></div>
<div class="category"></div>
<div class="dm-content">
<div class="left"></div>
<div class="right"></div>
</div>
<div class="dm-content2">
<div class="left2"></div>
<div class="right2"></div>
</div>
<div class="dm-content3">
<div class="left3"></div>
<div class="right3"></div>
</div>
<div class="dm-content4">
<div class="left4"></div>
<div class="right4"></div>
</div>
<div class="footer"></div>
</body>
</html>
网友评论