Skip to content

Instantly share code, notes, and snippets.

@tomraithel
Created August 28, 2012 19:00
Show Gist options
  • Save tomraithel/3502418 to your computer and use it in GitHub Desktop.
Save tomraithel/3502418 to your computer and use it in GitHub Desktop.
SASS | CSS: clearfix
@mixin clearfix {
*zoom: 1;
&:before,
&:after {
display: table;
content: "";
}
&:after {
clear: both;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment