for size flow bsp eight before 16px :after
清除浮动
- .clearfix:after{
- content:".";
- display:block;
- height:0;
- clear:both;
- visibility:hidden;
- }
清除 margin 溢出问题
- .overflow: before {
- content: ".";
- display: block;
- height: 0;
- visibility: hidden;
- }
CSS 清除浮动,清除子节点 margin 溢出问题
来源: http://www.bubuko.com/infodetail-2250973.html