csswizardry/CSS-Guidelines

About ID specificity

mateuszkocz opened this issue · 0 comments

Great stuff about CSS, as always. I've found a small issue, though. In the IDs section you've wrote:

An ID is 255 times more specific than a class [...]

That's only the case for IE and Fx. Chrome and Opera will require more ridiculous number of classes to actually beat an ID, so for the sake of being totally correct, you might want to change this part.

(Specificity tried on this pen)