Skip to content

Instantly share code, notes, and snippets.

@vitkon
Created May 29, 2013 19:10
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 vitkon/5672920 to your computer and use it in GitHub Desktop.
Save vitkon/5672920 to your computer and use it in GitHub Desktop.
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