.top{height:100px; background:gray;}
.main{height:300px; background: red; position:relative;}
.left{width:200px;height:300px;background:blue;position:absolute;top:0;left:0;}
.right{height:300px;background:green;position:absolute;width:100%;top:0;left:210px;}
.foot{height:100px; background:orange;}
.main{height:300px; background: red; position:relative;}
.left{width:200px;height:300px;background:blue;position:absolute;top:0;left:0;}
.right{height:300px;background:green;position:absolute;width:100%;top:0;left:210px;}
.foot{height:100px; background:orange;}
.top{height:100px;background:blue;}
.main{height:600px;background:red;position:relative;}
.left{height:600px;width:200px;background:green;position:absolute;}
.right{height:600px;background:purple;position:absolute;;margin-left:210px;}
.foot{height:100px;background:yellow;}
.main{height:600px;background:red;position:relative;}
.left{height:600px;width:200px;background:green;position:absolute;}
.right{height:600px;background:purple;position:absolute;;margin-left:210px;}
.foot{height:100px;background:yellow;}
给left和right 增加一个main的div的时候,老师怎么就选中了一下,把那两行代码给缩进到后面去的?视频进度2:03左右
------------------------------
我来自问自答一下吧,选中之后TAB
------------------------------
我来自问自答一下吧,选中之后TAB
给left和right 增加一个main的div的时候,老师怎么就选中了一下,把那两行代码给缩进到后面去的?视频进度2:03左右