What is a clearfix?

Ask a question
0

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

After a quick Google search, I learned that it is for IE6 sometimes, but what actually is a clearfix?

Could you provide some examples of a layout with a clearfix, compared to a layout without a clearfix?

Coin iconoffer bounty
add comment

0 Answer

Your Answer

how it works
asked
viewed14