DEV Community

Discussion on: Do you still use IDs for unique elements?

Collapse
 
urielbitton profile image
Uriel Bitton

Its ironic but the more classes become popular the more ids become powerful.
Meaning if a CSS framework is based entirely on classes then overriding a style for a certain element without headache is as simple as giving it an id, since id's have priority over classes.