1. clearfix:after{ visibility: hidden; display: block; font-size: 0; content: '.'; clear: both; height: 0; }