Alex Sexton
Alex Sexton
Do multiple backgrounds show up as a single background or no backgrounds?
If I'm not mistaken (probably am) - we have a plan for this outlined in #6
ah, yea, i was wondering what that rule was doing. I think it may have been commented out at the point I grabbed it.
Also... your mom lost @media query support.
seems like in this case we could just delete the whole rule, no?
especially because 'normal' might not be the inherited style.
`/(.*?)\:nth-last-child\(\d\)\s*\{.*\}/ig` or something similar would create the match, and then I could just remove the entire rule.
It may actually be easier than all that. Since we are going through, rule by rule, we could naiively do something like this: ``` javascript if ( rule.match(/\:nth-last-child/g) ) {...
oh, hmm. that actually might end up being harder now that i look at the code. :/ I'll see what I can do.
OH EASY Just replace the rule with something invalid! Then IE (if we supported it...) would technically have the right behavior, etc. ``` css li:nth-last-child(2), strong { color: red; }...