Created
December 18, 2009 01:00
-
-
Save scrooloose/259177 to your computer and use it in GitHub Desktop.
This file contains 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
//IE6 doesnt support min-(height|width), but these 2 hacks | |
//effectively implement them. | |
//Details: www.dustindiaz.com/min-height-fast-hack | |
=min_height_hack(!height) | |
min-height = !height | |
height: auto !important | |
height = !height | |
=min_width_hack(!width) | |
min-width = !width | |
width: auto !important | |
width = !width | |
//Fixes the Doubled Float-Margin bug. | |
//Details: www.positioniseverything.net/explorer/doubled-margin.html | |
=double_float_margin_fix | |
display: inline | |
float: left | |
//Fixes the Peekaboo bug. | |
//Details: http://www.positioniseverything.net/explorer/peekaboo.html | |
=peekaboo_fix | |
_display: inline-block | |
//A clearing hack swiped from the compass project | |
//(http://compass-style.org) | |
=clearfix | |
overflow: auto | |
overflow: -moz-scrollbars-none | |
// This makes ie6 get layout | |
display: inline-block | |
// and this puts it back to block | |
& | |
display: block |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment