Quote:
Originally Posted by JSWolf
Yes it's allowed to have CSS like the example. But really, it's poor code.
|
On the other hand, it also warns if you don't have a rule for h1, but just two rules for h1.a and h1.b. Changing them to .a and .b makes the warning go away. It seems wrong to be forced to reduce specificity like that.