Skip to content

Instantly share code, notes, and snippets.

@verteb
Created March 20, 2012 13:37
Show Gist options
  • Select an option

  • Save verteb/2135691 to your computer and use it in GitHub Desktop.

Select an option

Save verteb/2135691 to your computer and use it in GitHub Desktop.
CSS: ClearFix
.clearfix:before, .clearfix:after { content: ""; display: table; }
.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