Permalink
Browse files

Renamed clear to clearfix.

  • Loading branch information...
Phil LaPier
Phil LaPier committed Feb 17, 2012
1 parent df3b82c commit a1825eebaad612da4aed73fba408bf4f83f5bcde
@@ -27,4 +27,4 @@
@import "addons/html5-input-types";
@import "addons/position";
@import "addons/timing-functions";
-@import "addons/utilities";
+@import "addons/clearfix";
@@ -4,26 +4,26 @@
//
// // Contain all floats within .wrapper
// .wrapper {
-// @include clear;
+// @include clearfix;
// .content,
// .sidebar {
// float : left;
// }
// }
-@mixin clear {
+@mixin clearfix {
+ zoom: 1;
+
&:before,
&:after {
- content : "";
- display : table;
+ content: "";
+ display: table;
}
+
&:after {
- clear : both;
+ clear: both;
}
- zoom : 1;
}
-
// Acknowledgements
-//
// Micro clearfix: [Nicolas Gallagher](http://nicolasgallagher.com/micro-clearfix-hack/)
View
@@ -179,6 +179,7 @@ Bourbon aims to provide support for CSS3 properties that are not yet fully suppo
#Addons
--------------------------------
@ button(*args)
+ @ clearfix
@ position(*args)
#{$all-text-inputs}
@@ -196,8 +197,6 @@ Bourbon aims to provide support for CSS3 properties that are not yet fully suppo
$ease-in-out-*
* = quad, cubic, quart, quint, sine, expo, circ, back
- utilities
- @ clear
## Help Out

0 comments on commit a1825ee

Please sign in to comment.