Skip to content

Instantly share code, notes, and snippets.

@florentb
Created September 2, 2013 10:25
Show Gist options
  • Save florentb/6411440 to your computer and use it in GitHub Desktop.
Save florentb/6411440 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