Skip to content

Instantly share code, notes, and snippets.

@ramidem
Created March 29, 2017 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramidem/30f7b31d071beaa548d5e09d2198710f to your computer and use it in GitHub Desktop.
Save ramidem/30f7b31d071beaa548d5e09d2198710f to your computer and use it in GitHub Desktop.
Containing Floats
.group:before,
.group:after {
content: "";
display: table;
}
.group:after {
clear: both;
}
.group {
clear: both;
*zoom: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment