Skip to content

Instantly share code, notes, and snippets.

@junrillg
Created April 17, 2015 20:27
Show Gist options
  • Save junrillg/7b522829f6fedaa7171f to your computer and use it in GitHub Desktop.
Save junrillg/7b522829f6fedaa7171f to your computer and use it in GitHub Desktop.
Micro Clearfix
.group:before,
.group:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.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