CSS

<!DOCTYPE html>
<html>
<head>
<title>作业1</title>
<meta charset="utf-8">
<style type="text/css">
.quan{
width: 1267px;
height: 556px;
margin: auto;
background-color: red;
background-image: url(body.jpg);
background-size: 100%;
}
.tou1{
width: 558px;
height: 122px;
background-color: blue;
float: left;
}


.xia{
width: 1267px;
height: 433px;
clear: left;
background-image: url(xiabei.jpg);
}
.zhong{
width: 897px;
height: 355px;
background-color: yellow;
margin: auto;
position: relative;
top: 35px;


}
.zhong1{
width: 299px;
height: 95px;
background-color: red;
float: left;
}
.zhong2{
width: 299px;
height: 122px;
background-color: #6D87A0;
float: left;
}
.zhong3{
width: 299px;
height: 138px;
background-color: #245EDC;
float: left;
}
.xian{
width: 1px;
height: 85px;
background-color: #9C9C90;
}


</style>
</head>
<body style="background:#EEF2FB">
<div class="quan">
<div class="tou1">
<img src="tou1.jpg">
</div>

<div class="tou1" style="background-image:url(bei.jpg);width:709px;">
<img src="me.png">
</div>
<div class="xia">
<div class="zhong">
<div class="zhong1">
<div class="xian"></div>
</div>
<div class="zhong1">
<div class="xian"></div>
</div>
<div class="zhong1">
<div class="xian"></div>
</div>
<div class="zhong2">
<img src="zhong1.jpg">
</div>
<div class="zhong2">
<img src="zhong2.jpg">
</div>
<div class="zhong2">
<img src="zhong4.jpg">
</div>
<div class="zhong3"></div>
<div class="zhong3"></div>
<div class="zhong3"></div>
</div>
</div>
</div>
</body>
</html>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值