Permalink
Browse files

fix for .util_clearfix() mixin

  • Loading branch information...
1 parent 2c58277 commit f4fc1fa73a93bf3486e54c9b6c621d0b1806c91e Isaac Johnston committed Apr 15, 2011
Showing with 8 additions and 2 deletions.
  1. +8 −2 css/flawless/core/production/framework/util/util_clearfix.less
@@ -1,12 +1,18 @@
-// The Magnificent CLEARFIX. Prevents margin-collapsing on child elements.
+//
+// The Magnificent CLEARFIX.
+//
+// Useful for clearing floats without structural markup. This specific clearfix
+// method also prevents margin-collapsing on child elements.
+//
// See http://j.mp/bestclearfix
+//
.util_clearfix() {
&:before,
&:after {
content: "\0020";
display: block;
height: 0;
- visibility: hidden;
+ overflow: hidden;
}
&:after {
clear: both;

0 comments on commit f4fc1fa

Please sign in to comment.