Skip to content

Instantly share code, notes, and snippets.

@fitzryland
Created June 28, 2013 08:22
Show Gist options
  • Save fitzryland/5883280 to your computer and use it in GitHub Desktop.
Save fitzryland/5883280 to your computer and use it in GitHub Desktop.
This is the mixin' I use to make sure elements self clear. It isn't perfect, but is usually just the right thing.
@mixin group() {
&:after {
content: "";
display: table;
clear: both;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment