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:
commit
894e5d51a0
@ -29,3 +29,16 @@
|
|||||||
}
|
}
|
||||||
@include has-layout;
|
@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;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user