Skip to content

Instantly share code, notes, and snippets.

@julienbourdeau
Created November 26, 2012 08:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julienbourdeau/4147154 to your computer and use it in GitHub Desktop.
Save julienbourdeau/4147154 to your computer and use it in GitHub Desktop.
clearfix (from bootstrap)
.clearfix {
*zoom: 1;
}
.clearfix:before,
.clearfix:after {
display: table;
line-height: 0;
content: "";
}
.clearfix:after {
clear: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment