css清除浮动 //最佳方法 .clearfix::after{ display: block; content: ''; height: 0; clear: both; visibility: hidden;} .clearfix{ zoom: 1;}