/*
*学习笔记整理
*双飞翼布局结构代码
*/
html:
<body>
<div class="left"></div>
<div class="right"></div>
<div class="center">
<div class="center_con"></div>
</div>
</body>
//注意:三个div的顺序不能变换
css:
<style>
*{margin: 0px;padding: 0px;}
body,html{ height: 100%;}
.left{width: 100px;height: 500px;float: left;background: blue;}
.right{width: 100px;height: 500px;float: right;background: blue;}
.center{height:100%;padding: 0 100px;background: red;}
.center .center_con{height: 100%;background: purple;}
</style>