Skip to content

Instantly share code, notes, and snippets.

@jeremyworboys
Created April 15, 2012 23:25
Show Gist options
  • Save jeremyworboys/2395306 to your computer and use it in GitHub Desktop.
Save jeremyworboys/2395306 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