Skip to content

Instantly share code, notes, and snippets.

@jamesstacyjones
Created April 30, 2014 21:01
Show Gist options
  • Save jamesstacyjones/0988723ac1e13231cffc to your computer and use it in GitHub Desktop.
Save jamesstacyjones/0988723ac1e13231cffc to your computer and use it in GitHub Desktop.
clearfix : let my float go
.clearfix:before,
.clearfix:after {
content: "";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix {
zoom: 1; /* ie 6/7 */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment