I use clearfix to prevent cracking the Bootstrap grid when I use columns of different heights.
However, as soon as a clearfix div is added to the document, the columns that appear after it in the source behave as if they have a different even / odd index than they actually do.
I created an appropriate demo . As you can see, removing the clearfix div causes the colors of the divs to change, as if their index had changed.
Do you know what could be the cause, and what can I do to fix it?
user3915624
source share