Skip to content

Instantly share code, notes, and snippets.

@Fresh-Dev
Created February 10, 2016 19:24
Show Gist options
  • Save Fresh-Dev/28ed1a65dad1a8f92d25 to your computer and use it in GitHub Desktop.
Save Fresh-Dev/28ed1a65dad1a8f92d25 to your computer and use it in GitHub Desktop.
Classic CSS Clearfix
clearfix:before, .container:after { content: ""; display: table; }
.clearfix:after { clear: both; }
/* IE 6/7 */
.clearfix { zoom: 1; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment