Home > Designing, Others > The End of the Clearfix hack?

The End of the Clearfix hack?

January 25th, 2017 Leave a comment Go to comments

Rachel Andrew with a clear (get it?!) explanation of display: flow-root;, including demos comparing old and new techniques. Apparently the name is still a little bit still up in the air.

The whole point of it is getting rid of clearfix, or using a different/unintended property for float clearning. Every time this is brought up, there is always a well actually about how overflow: hidden; does the same. Like we mentioned before, overflow has consquences totally unrelated to float clearning, like hiding shadows.

Direct Link to ArticlePermalink


The End of the Clearfix hack? is a post from CSS-Tricks

Categories: Designing, Others Tags:
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.