Skip to content

Instantly share code, notes, and snippets.

@omurphy27
Created June 2, 2013 01:13
Show Gist options
  • Save omurphy27/5692253 to your computer and use it in GitHub Desktop.
Save omurphy27/5692253 to your computer and use it in GitHub Desktop.
CSS Clear and Clearfix Classes
/* Clear and Clearfix CSS classes */
.clear {
clear: both;
}
.clearfix:after {
display: block;
clear: both;
content: "";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment