Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save VadimBrodsky/2a70be0263a09dd9543e to your computer and use it in GitHub Desktop.
Save VadimBrodsky/2a70be0263a09dd9543e to your computer and use it in GitHub Desktop.
@mixin clearfix-micro() {
& {
*zoom: 1;
}
&:before,
&:after {
content: "";
display: table;
}
&:after {
clear: both;
}
}
//Usage:
.whatever {
@include clearfix-micro();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment