三栏布局

三栏布局_第1张图片
  1. 左右div浮动,再添加中间的div
  2. 盒子变形使用 box-sizing: border-box;

code:https://github.com/onerme/IFE-demo/blob/master/xiaowei/demo03/index.html
demo:https://onerme.github.io/IFE-demo/xiaowei/demo03/index.html

清除浮动http://www.jianshu.com/p/3c3bfcc37de6

你可能感兴趣的:(三栏布局)