.clearfix:after { content: ""; display: block; clear: both; } .clearfix { overflow: hidden; zoom: 1; }