Skip to content

Instantly share code, notes, and snippets.

@Usse
Created February 3, 2013 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Usse/4702295 to your computer and use it in GitHub Desktop.
Save Usse/4702295 to your computer and use it in GitHub Desktop.
Sass version of clearfix
.cf {
zoom: 1;
&:before,
&:after {
content: '';
display: table;
}
&:after {
clear: both;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment