/* 清理浮动 */ .clearfix:after{ content: " "; display: block; height: 0; visibility: hidden; clear: both; font-size: 0; } .clearfix{ *zoom: 1; }