Skip to content

Instantly share code, notes, and snippets.

@aekaplan
Last active August 29, 2015 13:56
Show Gist options
  • Save aekaplan/9274372 to your computer and use it in GitHub Desktop.
Save aekaplan/9274372 to your computer and use it in GitHub Desktop.
Placeholder (%) Sass Clearfix
%clearfix {
*zoom: 1;
&:before, &:after {
content: " ";
display: table;
}
&:after {
clear: both;
}
}
.row {
@extend %clearfix;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment