Skip to content

Instantly share code, notes, and snippets.

@inkbase
Created March 13, 2015 19:21
Show Gist options
  • Save inkbase/038d1d7fdf271c06822e to your computer and use it in GitHub Desktop.
Save inkbase/038d1d7fdf271c06822e to your computer and use it in GitHub Desktop.
Sass: Clearfix mixin
@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