Skip to content

Instantly share code, notes, and snippets.

@FernE97
Created March 7, 2012 18:43
Show Gist options
  • Save FernE97/1995052 to your computer and use it in GitHub Desktop.
Save FernE97/1995052 to your computer and use it in GitHub Desktop.
css: clearfix
/* Contain floats: h5bp.com/q */
.group:before, .group:after { content: ""; display: table; }
.group:after { clear: both; }
.group { *zoom: 1; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment