Skip to content

Instantly share code, notes, and snippets.

@Satoh-D
Created August 1, 2014 06:35
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 Satoh-D/de968c76047be7cd6a33 to your computer and use it in GitHub Desktop.
Save Satoh-D/de968c76047be7cd6a33 to your computer and use it in GitHub Desktop.
clearfix(minimal ver.)
/**
* clearfix
*/
.clearfix:before,
.clearfix:after {
content:"";
display: table;
}
.clearfix:after {
clear: both;
}
.clearfix {
zoom: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment