2-13练习题老师帮忙看下
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style type="text/css">
/*此处写代码*/
#content{
width:800px;
margin:0 auto;
}
.one{
width:800px;
background:blue;
float:left;
}
.one .left{
width:400px;
float:left;
}
.one .right{
width:400px;
float:left;
}
.one_one{
padding:20px;
}
.two{
width: 800px;
float: left;
background: pink;
}
.two .left{
width: 266px;
float: left;
}
.two .middle{
width: 266px;
float: left;
}
.two .right{
width: 267px;
float: left;
}
.two_two{
padding:34px;
}
</style>
</head>
<body>
<!-- 此处写代码 -->
<div id=content>
<div class="one">
<div class="left">
<div class=one_one>
<img src="http://img1.sycdn.imooc.com/climg//58c0f808000129a303600215.jpg">
</div>
</div>
<div class="right">
<div class=one_one>
<img src="http://img1.sycdn.imooc.com/climg//58c0f819000198a703600214.jpg">
</div>
</div>
</div>
<div class="two">
<div class="left">
<div class="two_two">
<img src="http://img1.sycdn.imooc.com/climg//58c0f81d0001fe4402000060.jpg">
</div>
</div>
<div class="middle">
<div class="two_two">
<img src="http://img1.sycdn.imooc.com/climg//58c0f8220001dfce02000060.jpg">
</div>
</div>
<div class="right">
<div class="two_two">
<img src="http://img1.sycdn.imooc.com/climg//58c0f8780001c74602000060.jpg">
</div>
</div>
</div>
</div>
</body>
</html>27
收起
正在回答 回答被采纳积分+1
5回答
前端小白入门系列课程
- 参与学习 人
- 提交作业 11218 份
- 解答问题 36712 个
从一个不会编程的小白到一个老司机是需要过程的,首先得入门,学习基础知识,然后才能进阶,最后再到精通,本专题是你走进前端世界的不二选择!
了解课程

恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星