Hi
I know that to calculate the specificity of a selector we use three numbers, where first number on the left is number of IDs, second number represents number of classes, pseudo-classes and attributes and third number represents number of elements.
I realize the following numbers are exaggerated … IDs are more specific than classes and classes are more specific than elements, but will the selector with specificity of 1.0.0 (thus selector with one ID) win over a selector with specificity of 0.222.0 ( selector with 222 classes/pseudo classes )?
thanx