Skip to content
Browse files

new clearfix revision from paul hayes. cleaner and no IE 5.5 hack. sa…

…me basic thing. fixes #45
  • Loading branch information...
1 parent 04a7062 commit a884c218388dda4b9a7618a618e53855c542cb49 @paulirish paulirish committed
Showing with 4 additions and 5 deletions.
  1. +4 −5 css/style.css
View
9 css/style.css
@@ -184,11 +184,10 @@ button { width: auto; overflow: visible; }
/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }
-/* >> The Magnificent CLEARFIX << */
-.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
-.clearfix { display: inline-block; }
-* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
-.clearfix { display: block; }
+/* >> The Magnificent CLEARFIX << j.mp/phayesclearfix */
+.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
+.clearfix { zoom: 1; }
+

0 comments on commit a884c21

Please sign in to comment.
Something went wrong with that request. Please try again.