Skip to content

Instantly share code, notes, and snippets.

@aekaplan
Last active January 3, 2016 13:09
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 aekaplan/8467436 to your computer and use it in GitHub Desktop.
Save aekaplan/8467436 to your computer and use it in GitHub Desktop.
Clearfix (Made by Nicolas Gallagher) - CSS
.clearfix:before,
.clearfix:after {
content: " ";
display: table;
}
.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