Created
August 3, 2011 06:41
-
-
Save em/1122040 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a hack that makes IE6 act almost as if overflow:hidden worked | |
// Empty clearfix divs are injected into every div by recuryjs, and this mixin | |
// overrides 'overflow' so that if you pass 'hidden', it adds a clear:both to the | |
// first descendent. IE also doesn't support the > selector so we emulate that | |
// with a further nesting inverting to clear:none | |
overflow(v) | |
overflow v | |
if v == 'hidden' | |
.clearfix | |
clear both | |
.clearfix | |
clear none |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment