Skip to content

Instantly share code, notes, and snippets.

@robmcalister
Created September 24, 2013 04:26
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 robmcalister/6680359 to your computer and use it in GitHub Desktop.
Save robmcalister/6680359 to your computer and use it in GitHub Desktop.
.clearfix:after {
content: "";
display: block;
clear: both;
visibility: hidden;
font-size: 0;
height: 0;
}
.clearfix {
*display: inline-block;
_height: 1%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment