Skip to content

Instantly share code, notes, and snippets.

@dggodfrey
Created September 25, 2013 22:14
Show Gist options
  • Save dggodfrey/6706785 to your computer and use it in GitHub Desktop.
Save dggodfrey/6706785 to your computer and use it in GitHub Desktop.
Clearfix
/* http://css-tricks.com/snippets/css/clear-fix/ */
.group:before,
.group:after {
content: "";
display: table;
}
.group:after {
clear: both;
}
.group {
zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment