CSS specificity is one of the aspects of CSS that can be very confusing at first, and hard to remember even after you understand it. The idea is that if you have two rules that target the same general element, you need a way to determine which one the browser implements. At its most basic, if you set the font color on paragraph tags twice in one CSS document, the last one to be read will be applied. But what if you have a paragraph that has both an id and a class set, and there are styles for each of those? Specificity says that the ID style will take precedence over a class - because it's more specific (there can only be one element with an ID on a page, but there can be many elements with the same class).
Comments
This is an aspect of css that comes in very handy for me. I think every web designer should have a firm understanding of it, and the different ways to implement it, it’s not too complex.