public
Created

Sass Clearfix Mixin Based in this article - http://web-design-weekly.com/snippets/sass-clearfix-mixin/

  • Download Gist
Sass Clearfix Mixin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// ======= Sass Clearfix Mixin =======
 
@mixin clearfix()
&
*zoom: 1
&:before, &:after
content: ""
display: table
 
&:after
clear: both
 
 
// // Usage
// .article
// @include clearfix()

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.