Skip to content

Instantly share code, notes, and snippets.

@Frulko
Created August 6, 2014 08:21
Show Gist options
  • Save Frulko/8693604e933b1d60339b to your computer and use it in GitHub Desktop.
Save Frulko/8693604e933b1d60339b to your computer and use it in GitHub Desktop.
Clear Clearfix
.clear{
clear:both;
}
.clearfix:before,.clearfix:after{
content:".";
display:block;
height:0;
overflow:hidden
}
.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