.clearfix { *zoom: 1 } .clearfix:before,.clearfix:after { display: table; line-height: 0; content: "" } .clearfix:after { clear: both } /*非公用样式请不要写到这个文件里*/