浮动实战

要求:
分析(看蓝色区域):





<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>浮动实战练习</title>
<style>
*{
padding: 0px;
margin: 0px;
}
.head{
width: 980px;
height: 100px;
/*background-color: pink;*/
margin: 0 auto;
margin-bottom: 10px;
}
.head .logo{
width: 250px;
height: 100px;
background-color: #00faff;
float: left;
}
.head .language{
width: 150px;
height: 50px;
background-color: #e68500;
float: right;
}
.head .nav{
width: 650px;
height: 50px;
background-color: #7e007d;
float: right;
}
.content{
width: 980px;
height: 400px;
/*background-color: blue;*/
margin: 0 auto;
margin-bottom: 10px;
}
.content .centerleft{
width: 320px;
height: 400px;
background-color: yellow;
float: left;
}
.content .centerright{
width: 650px;
height: 400px;
/*background-color: beige;*/
float: right;
}
.content .centerright .centerrighttop{
width: 650px;
height: 350px;
/*background-color: green;*/

}
.content .centerright .centerrighttop .left{
width: 400px;
height: 350px;
/*background-color: #fd1393;*/
float: left;
}
.content .centerright .centerrighttop .left .lefttop{
width: 400px;
height: 200px;
background-color: #fd1393;
margin-bottom: 10px;
}
.content .centerright .centerrighttop .left .leftfoot{
width: 400px;
height: 140px;
background-color: #00bbfc;
}
.content .centerright .centerrighttop .right{
width: 240px;
height: 350px;
background-color: #9aca31;
float: right;
}
.content .centerright .centerrightfoot{
width: 650px;
height: 40px;
background-color: #b68511;
margin-top: 10px;
}
.foot{
width: 980px;
height: 40px;
background-color: tomato;
margin: 0 auto;
}
</style>
</head>
<body>
<div class="head">
<div class="logo"></div>
<div class="language"></div>
<div class="nav"></div>
</div>
<div class="content">
<div class="centerleft"></div>
<div class="centerright">
<div class="centerrighttop">
<div class="left">
<div class="lefttop"></div>
<div class="leftfoot"></div>
</div>
<div class="right"></div>
</div>
<div class="centerrightfoot"></div>
</div>
</div>
<div class="foot"></div>
</body>
</html>

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值