Skip to content

Instantly share code, notes, and snippets.

@gorand
Last active August 29, 2015 14:26
Show Gist options
  • Save gorand/8f0cfe7483b4dfbaa69f to your computer and use it in GitHub Desktop.
Save gorand/8f0cfe7483b4dfbaa69f to your computer and use it in GitHub Desktop.
mixin clearfix
@define-mixin clearfix() {
&:before,
&:after {
content: " ";
display: table;
}
&:after {
clear: both;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment