2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

Remove unnecessary CSS properties from the clearfix mixin.

This commit is contained in:
Nicolas Gallagher
2012-01-19 20:33:22 +00:00
parent 1c014613a9
commit 25ac318d33
3 changed files with 25 additions and 47 deletions
+1 -3
View File
@@ -10,13 +10,11 @@
// -------------------------
// For clearing floats like a boss h5bp.com/q
.clearfix() {
zoom: 1;
*zoom: 1;
&:before,
&:after {
display: table;
*display: inline;
content: "";
zoom: 1;
}
&:after {
clear: both;