Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'twome/patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil LaPier committed Jun 14, 2013
2 parents 87fc97d + d9b6fc7 commit 7ff5ebf
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions app/assets/stylesheets/addons/_clearfix.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Micro clearfix provides an easy way to contain floats without adding additional markup
// Modern micro clearfix provides an easy way to contain floats without adding additional markup.
//
// Example usage:
//
Expand All @@ -12,18 +12,12 @@
// }

@mixin clearfix {
*zoom: 1;

&:before,
&:after {
content: " ";
display: table;
}

&:after {
clear: both;
content:"";
display:table;
clear:both;
}
}

// Acknowledgements
// Micro clearfix: [Nicolas Gallagher](http://nicolasgallagher.com/micro-clearfix-hack/)
// Beat *that* clearfix: [Thierry Koblentz](http://www.css-101.org/articles/clearfix/latest-new-clearfix-so-far.php)

0 comments on commit 7ff5ebf

Please sign in to comment.