What is clearfix?


Recently I was looking through some website's code, and saw that every <div> had a class clearfix.

After a quick Google, I learnt that is for IE6 sometimes, but what actually is the clearfix? Could you provide some examples of a layout with clearfix, comparing to a layout without clearfix?


Your Answer

    Facebook Share        
  • asked 4 years ago
  • viewed 1463 times
  • active 4 years ago

Hot Questions