Merge commit 'cb6068c9a351cd43111e7a89f2c69c095a3eeec6' into stable

* commit 'cb6068c9a351cd43111e7a89f2c69c095a3eeec6':
  Adding Micro Clearfix which is new and uses less CSS than PIE Clearfix
This commit is contained in:
Chris Eppstein 2011-06-11 22:38:13 -07:00
commit 894e5d51a0

View File

@ -29,3 +29,16 @@
}
@include has-layout;
}
// An update to the PIE clearfix method that reduces the amount of CSS required
// [A new micro clearfix hack](http://nicolasgallagher.com/micro-clearfix-hack/) (25 April 2011)
@mixin micro-clearfix {
&:before, &:after {
content: "";
display: table;
}
&:after {
clear: both;
}
@include has-layout;
}