Merge commit 'mrajcok/master'

* commit 'mrajcok/master':
  Reversed the logic to be correct (IE6 *ignores* the !important identifier).
This commit is contained in:
Chris Eppstein 2010-02-13 08:32:37 -08:00
commit cd2ab04fec

View File

@ -6,10 +6,10 @@
display: block display: block
//** //**
IE6 will let the !important property win A hack to supply IE6 (and below) with a different property value.
While all the other browsers won't. See http://www.cssportal.com/css-hacks/#in_css-important
TODO: link to blog post =bang-hack(!property, !value, !ie6_value)
=bang-hack(!property, !hack_value, !value) #{!property}: #{!value} !important
#{!property}: #{!hack_value} !important #{!property}: #{!ie6_value}
#{!property}: #{!value}