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