<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<style type="text/css"> | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
.divbody { | |
width: 1200px; | |
height: 100%; | |
/* background-color: aquamarine; */ | |
margin: 0 auto; | |
border: 2px solid red; | |
} | |
.div1{ | |
width: 1200px; | |
height: 90px; | |
/* background-color: aqua; */ | |
border: 2px solid red; | |
} | |
.div2{ | |
width: 1200px; | |
height: 50px; | |
/* background-color: blueviolet; */ | |
border: 2px solid yellow; | |
} | |
.div3{ | |
width: 1200px; | |
height: 350px; | |
/* background-color: coral; */ | |
border: 2px solid red; | |
} | |
.div4{ | |
width: 1200px; | |
height: 440px; | |
/* background-color: darkgreen; */ | |
border: 2px solid red; | |
} | |
.div5{ | |
width: 1200px; | |
height: 300px; | |
/* background-color: red; */ | |
border: 2px solid blue; | |
} | |
.divT { | |
width: 350px; | |
height: 230px; | |
/* background-color: #FF0000; */ | |
border: 2px solid yellowgreen; | |
float: left; | |
margin-left: 140px; | |
} | |
.divm { | |
width: 300px; | |
height: 230px; | |
/* background-color: fuchsia; */ | |
border: 2px solid red; | |
float: left; | |
} | |
.divs { | |
width: 240px; | |
height: 230px; | |
/* background-color: aqua; */ | |
border: 2px solid blueviolet; | |
float: left; | |
} | |
.divh { | |
width: 900px; | |
height: 210px; | |
/* background-color: goldenrod; */ | |
border: 2px solid red; | |
float: left; | |
margin-left: 140px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="divbody"> | |
<div class="div1"></div> | |
<div class="div2"></div> | |
<div class="div3"></div> | |
<div class="div4"> | |
<div class="divT"></div> | |
<div class="divm"></div> | |
<div class="divs"></div> | |
<div class="divh"></div> | |
</div> | |
<div class="div5"></div> | |
</div> | |
</body> | |
</html> | |
网站基本框架
最新推荐文章于 2024-08-12 22:06:26 发布