Float浮动布局 使用float进行浮动布局 父元素:添加clearfix类,清除浮动bug 子元素:float:left | right clearfix类: .clerafix { content: ''; display:block; clear:both; }