<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>网酒网</title>
<style type="text/css">
*{
margin: 0;
padding: 0;
}
.link{
width: 1250px;
height: 100px;
background-color: red;
margin: 0 auto;
}
.wang{
width: 1250px;
height: 30px;
background-color: yellow;
margin: 0 auto;
}
.huan{
width: 80px;
height: 30px;
background-color: green;
float: left;
margin: 0 auto;
}
.zhu{
width: 80px;
height: 30px;
background-color: #33ff00;
float: left;
margin: 0 10px;
}
.deng{
width: 80px;
height: 30px;
background-color: #9ACD32;
float: left;
margin: 0 10px;
}
.shou{
width: 80px;
height: 30px;
background-color: #EE82EE;
float: left;
margin: 0 10px;
}
.wo{
width: 80px;
height: 30px;
background-color: #4682B4;
float: right;
margin: 0 auto;
}
.hui{
width: 80px;
height: 30px;
background-color: #D2B48C;
float: right;
margin: 0 10px;
}
.ti{
width: 80px;
height: 30px;
background-color: #D8BFD8;
float: right;
margin: 0 10px;
}
.le{
width: 80px;
height: 30px;
background-color: #6A5ACD;
float: right;
margin: 0 10px;
}
.geng{
width: 80px;
height: 30px;
background-color: #87CEEB;
float: right;
margin: 0 auto;
}
.sou{
width: 1250px;
height: 60px;
background-color: green;
margin: 10px auto;
}
.lou{
width: 100px;
height: 60px;
background-color: #4169E1;
float: left;
margin: 0 40px;
}
.suo{
width: 400px;
height: 40px;
background-color: #FA8072;
float: left;
margin: 0 150px;
}
.gou{
width: 200px;
height: 60px;
background-color: #F4A460;
float: right;
margin: 0 auto;
}
.zhong{
width: 1250px;
height: 1125px;
background-color: yellow;
margin: 20px auto;
}
.quan{
width: 180px;
height: 40px;
background-color: #00FFFF;
float: left;
margin: 0 20px;
}
.shou{
width: 80px;
height: 30px;
background-color: #8A2BE2;
float: left;
margin: 0 10px;
}
.ming{
width: 80px;
height: 30px;
background-color: #A52A2A;
float: left;
margin: 0 10px;
}
.xian{
width: 80px;
height: 30px;
background-color: #5F9EA0;
float: left;
margin: 0 10px;
}
.zheng{
width: 80px;
height: 30px;
background-color: #7FFF00;
float: left;
margin: 0 10px;
}
.shi{
width: 80px;
height: 30px;
background-color: #D2691E;
float: left;
margin: 0 10px;
}
.ping{
width: 80px;
height: 30px;
background-color: #6495ED;
float: left;
margin: 0 10px;
}
.tu{
width: 1250px;
height: 300px;
background-color: #6495ED;
float: left;
margin: 0 auto;
}
.yi{
width: 180px;
height: 50px;
background-color: #FFF8DC;
padding-top: none;
margin: 0 20px;
}
.pu{
width: 180px;
height: 50px;
background-color: #DC143C;
padding-top: none;
margin: 0 20px;
}
.bai{
width: 180px;
height: 50px;
background-color: #00FFFF;
padding-top: none;
margin: 0 20px;
}
.pi{
width: 180px;
height: 50px;
background-color: #00008B;
padding-top: none;
margin: 0 20px;
}
.jiu{
width: 180px;
height: 50px;
background-color: #008B8B;
padding-top: none;
margin: 0 20px;
}
.kong{
width: 180px;
height: 50px;
background-color: #B8860B;
padding-top: none;
margin: 0 20px;
}
.jin{
width: 300px;
height: 50px;
background-color: #A9A9A9;
margin: 20px auto;
}
.ji{
width: 250px;
height: 300px;
background-color: #00008B;
float: left;
margin: 0 auto;
}
.da{
width: 100%;
height: 300px;
}
.bao{
width: 250px;
height: 300px;
background-color: #008B8B;
float: left;
margin: 0 auto;
}
.ai{
width: 250px;
height: 300px;
background-color: #B8860B;
float: left;
margin: 0 auto;
}
.ma{
width: 250px;
height: 300px;
background-color: #A9A9A9;
float: left;
margin: 0 auto;
}
.an{
width: 250px;
height: 300px;
background-color: #006400;
float: left;
margin: 0 auto;
}
.yuan{
width: 250px;
height: 300px;
background-color: #BDB76B;
float: left;
margin: 0 auto;
}
.re{
width: 300px;
height: 50px;
background-color: #8B008B;
padding-top: none;
margin: 20px auto;
}
.he{
width: 312px;
height: 300px;
background-color: #556B2F;
float: left;
margin: 0 auto;
}
.xiao{
width: 312px;
height: 300px;
background-color: #FF8C00;
float: left;
margin: 0 auto;
}
.huang{
width: 312px;
height: 300px;
background-color: #9932CC;
float: left;
margin: 0 auto;
}
.tuo{
width: 312px;
height: 300px;
background-color: #8B0000;
float: left;
margin: 0 auto;
}
.jiewei{
width: 1250px;
height: 500px;
background-color: blue;
}
.qiu{
width: 200px;
height: 70px;
background-color: #2F4F4F;
float: left;
margin: 0 40px;
}
.di{
width: 200px;
height: 70px;
background-color: #FF1493;
float: left;
margin: 0 40px;
}
.qu{
width: 200px;
height: 70px;
background-color: #8FBC8F;
float: left;
margin: 0 40px;
}
.huo{
width: 200px;
height: 70px;
background-color: #E9967A;
float: left;
margin: 0 40px;
}
.fang{
width: 100%;
height: 300px;
}
.men{
width: 200px;
height: 400px;
background-color: #E9967A;
float: left;
margin: 20px 20px;
}
.nam{
width: 200px;
height: 400px;
background-color: #E9967A;
float: left;
margin: 20px 20px;
}
.xiang{
width: 200px;
height: 400px;
background-color: #E9967A;
float: left;
margin: 20px 20px;
}
.pei{
width: 200px;
height: 400px;
background-color: #E9967A;
float: left;
margin: 20px 20px;
}
.fu{
width: 200px;
height: 400px;
background-color: #E9967A;
float: left;
margin: 20px 20px;
}
.zuo{
width: 200px;
height: 400px;
background-color: #E9967A;
float: left;
margin: 20px 20px;
}
</style>
</head>
<body>
<div class="link">
<div class="wang">
<div class="huan"></div>
<div class="zhu"></div>
<div class="deng"></div>
<div class="shou"></div>
<div class="wo"></div>
<div class="hui"></div>
<div class="ti"></div>
<div class="le"></div>
<div class="geng"></div>
</div>
<div class="sou">
<div class="lou"></div>
<div class="suo"></div>
<div class="gou"></div>
</div>
</div>
<div class="zhong">
<div class="quan"></div>
<div class="shou"></div>
<div class="ming"></div>
<div class="xian"></div>
<div class="zheng"></div>
<div class="shi"></div>
<div class="ping"></div>
<div class="tu">
<div class="yi"></div>
<div class="pu"></div>
<div class="bai"></div>
<div class="pi"></div>
<div class="jiu"></div>
<div class="kong"></div>
<div class="jin"></div>
<div class="ji"></div>
<div class="da">
<div class="ba"></div>
<div class="ai"></div>
<div class="ma"></div>
<div class="an"></div>
<div class="yuan"></div>
</div>
<div class="re"></div>
<div class="he"></div>
<div class="xiao"></div>
<div class="huang"></div>
<div class="tuo"></div>
</div>
</div>
<div class="jiewei">
<div class="qiu"></div>
<div class="di"></div>
<div class="qu"></div>
<div class="huo"></div>
<div class="fang">
<div class="men"></div>
<div class="nan"></div>
<div class="xiang"></div>
<div class="pei"></div>
<div class="fu"></div>
<div class="zuo"></div>
</div>
</div>
</body>
</html>
网页的简单布局
最后编辑于 :
©著作权归作者所有,转载或内容合作请联系作者
- 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
- 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
- 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...