Skip to content

Instantly share code, notes, and snippets.

@triple-j
Created September 4, 2015 18:09
Show Gist options
  • Save triple-j/bb3bb76a7847e4577013 to your computer and use it in GitHub Desktop.
Save triple-j/bb3bb76a7847e4577013 to your computer and use it in GitHub Desktop.
*Beat That* ClearFix!
// http://cssmojo.com/latest_new_clearfix_so_far/
// For those wondering about the class name… It stands for *Beat That* ClearFix! :)
@mixin bt-clearfix {
&:after {
content:"";
display:table;
clear:both;
}
}
%bt-clearfix {
@include bt-clearfix;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment