Skip to content

Instantly share code, notes, and snippets.

@Takaya213
Created October 1, 2015 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Takaya213/dc902171a13316a1ea1c to your computer and use it in GitHub Desktop.
Save Takaya213/dc902171a13316a1ea1c to your computer and use it in GitHub Desktop.
Clearfix with Sass
@mixin clearfix {
&:after {
content: "";
display: table;
clear: both;
}
}
.wrap {
@include clearfix;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment