Skip to content

Instantly share code, notes, and snippets.

@rhysburnie
Last active December 16, 2015 01:19
Show Gist options
  • Save rhysburnie/5354663 to your computer and use it in GitHub Desktop.
Save rhysburnie/5354663 to your computer and use it in GitHub Desktop.
ng style micro clearfix
/* http://nicolasgallagher.com/micro-clearfix-hack/ */
.cf:before,
.cf:after {
content: " ";
display: table;
}
.cf:after {
clear: both;
}
.cf {
*zoom: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment