Is the order, or sequence, of rules in CSS significant?
This post says that it matters: <a href="http://dotnetstories.wordpress.com/2008/04/01/order-of-css-rules-matters/" rel="noreferrer">Order of CSS rules matters!!!!!!!!!!</a>
I haven't noticed anything about this in the CSS spec.
Should <a href="http://www.w3.org/TR/CSS2/cascade.html#specificity" rel="noreferrer">Calculating a selector's specificity</a> say that if-and-only-if two rules have the same specificity, then it's the later of the two rules (i.e. whichever rule is defined after the previous rule) that's the effective rule?
This post says that it matters: <a href="http://dotnetstories.wordpress.com/2008/04/01/order-of-css-rules-matters/" rel="noreferrer">Order of CSS rules matters!!!!!!!!!!</a>
I haven't noticed anything about this in the CSS spec.
Should <a href="http://www.w3.org/TR/CSS2/cascade.html#specificity" rel="noreferrer">Calculating a selector's specificity</a> say that if-and-only-if two rules have the same specificity, then it's the later of the two rules (i.e. whichever rule is defined after the previous rule) that's the effective rule?