Skip to content

Instantly share code, notes, and snippets.

@LucaRosaldi
Created October 23, 2012 12:41
Show Gist options
  • Save LucaRosaldi/3938537 to your computer and use it in GitHub Desktop.
Save LucaRosaldi/3938537 to your computer and use it in GitHub Desktop.
SASS: mixin clear()
@mixin clear() {
&:before, &:after {
content: "\0020";
display: block;
height: 0;
overflow: hidden;
}
&:after {
clear: both;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment