Skip to content

Commit

Permalink
Renamed clear to clearfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil LaPier committed Feb 17, 2012
1 parent df3b82c commit a1825ee
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/assets/stylesheets/_bourbon.scss
Expand Up @@ -27,4 +27,4 @@
@import "addons/html5-input-types";
@import "addons/position";
@import "addons/timing-functions";
@import "addons/utilities";
@import "addons/clearfix";
Expand Up @@ -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/)
3 changes: 1 addition & 2 deletions readme.md
Expand Up @@ -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}
Expand All @@ -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
Expand Down

0 comments on commit a1825ee

Please sign in to comment.