Skip to content

Instantly share code, notes, and snippets.

@pablolobos
Created October 10, 2013 17:29
Show Gist options
  • Save pablolobos/6922290 to your computer and use it in GitHub Desktop.
Save pablolobos/6922290 to your computer and use it in GitHub Desktop.
Clearfix
.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