Skip to content

Instantly share code, notes, and snippets.

@BumbuKhan
Created February 15, 2017 08:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BumbuKhan/5b414bd4932634d007f31661689f6e7e to your computer and use it in GitHub Desktop.
Save BumbuKhan/5b414bd4932634d007f31661689f6e7e to your computer and use it in GitHub Desktop.
clearfix
.clearfix::before, .clearfix::after {
content: "";
display: table;
}
.clearfix::after {
clear: both;
}
.clearfix {
zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment