Skip to content

Instantly share code, notes, and snippets.

@kisabelle
Created January 16, 2014 23:07
Show Gist options
  • Save kisabelle/8465258 to your computer and use it in GitHub Desktop.
Save kisabelle/8465258 to your computer and use it in GitHub Desktop.
Micro clearfix by Nicolas Gallagher
.cf:before,
.cf:after {
content: " "; /* 1 */
display: table; /* 2 */
}
.cf:after {
clear: both;
}
@kisabelle
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment