Skip to content

Instantly share code, notes, and snippets.

@albertgrala
Created December 7, 2012 15:19
Show Gist options
  • Save albertgrala/4233890 to your computer and use it in GitHub Desktop.
Save albertgrala/4233890 to your computer and use it in GitHub Desktop.
SASS: float-clearing
%group {
zoom: 1;
&:before,
&:after {
content: '';
display: table;
}
&:after {
clear: both;
}
}
// Usage
.example{
@extend %group;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment