Skip to content

Instantly share code, notes, and snippets.

@cfarm
Created November 11, 2013 23:50
Show Gist options
  • Save cfarm/7422724 to your computer and use it in GitHub Desktop.
Save cfarm/7422724 to your computer and use it in GitHub Desktop.
Sass Clearfix Mixin
@mixin clearfix {
*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