- .clearfix{zoom:1}
- .clearfix:before,.clearfix:after{content:"";display:table}
- .clearfix:after{clear:both;overflow:hidden}
.clearfix{zoom:1}
.clearfix:before,.clearfix:after{content:"";display:table}
.clearfix:after{clear:both;overflow:hidden}
通常情况下可以使用,有特殊需要的时候不建议