Skip to content

Instantly share code, notes, and snippets.

@Teraflopst
Last active February 19, 2016 14:37
Show Gist options
  • Save Teraflopst/a396894a5a2209a8a156 to your computer and use it in GitHub Desktop.
Save Teraflopst/a396894a5a2209a8a156 to your computer and use it in GitHub Desktop.
Snippet: CSS clearfix
.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