Skip to content

Instantly share code, notes, and snippets.

@githiro
Created June 3, 2013 23:05
Show Gist options
  • Save githiro/5702231 to your computer and use it in GitHub Desktop.
Save githiro/5702231 to your computer and use it in GitHub Desktop.
CSS: clearfix
/* clearfix */
.clearfix:before, .clearfix:after {
content: "";
display: block;
overflow: hidden;
}
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment