Skip to content

Instantly share code, notes, and snippets.

@cliftoncanady
Created October 25, 2012 14:45
Show Gist options
  • Select an option

  • Save cliftoncanady/3952983 to your computer and use it in GitHub Desktop.

Select an option

Save cliftoncanady/3952983 to your computer and use it in GitHub Desktop.
CSS: Clearfix Floats
.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