The Difference Between ID and Class | CSS-Tricks
I’d like to second Ed’s point (in post 15, above) that CSS does in fact care about the difference between IDs and classes, because an ID always has a higher specificity than a class. This means that if you have separate ID and class-based style declaratio...