Skip to content

Instantly share code, notes, and snippets.

@ljyf5593
Created October 17, 2013 03:06
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 ljyf5593/7018661 to your computer and use it in GitHub Desktop.
Save ljyf5593/7018661 to your computer and use it in GitHub Desktop.
clearfix
.clearfix:before, .clearfix:after {
content:"";
display:table;
}
.clearfix:after{
clear:both;
}
.clearfix{
*zoom:1;/*ie6,7*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment