This question is not really very easily Googlable so I'm posting it
here.
I vaguely remember reading that the order in which a state styles
appeared in a stylesheet was important.
I made a rough memory recall thingy: LoVe HAte (not an acronym but must
have some official name) to stand for:
Does the order matter?
Yes! read here:
http://www.westciv.com/style_master/academy/css_tutorial/selectors/p_class_s
electors.html
If so why and is my order above correct?
Yes, your order was correct
Do we need to have all states styled?
No you do not need to style all states
Russ
The
Yes, to the best of my knowledge that is correct: order does matter
(although only in some browsers I think) and that is the correct order. And
I think that if you don't style everything, it takes the value for the last
one in the order (e.g. if you don't style active, it will assume the