re: Reasons not to use IDs in CSS VIEW POST

VIEW FULL DISCUSSION
 

"A class on its own can't overwrite styles belonging to an ID."

I had no idea! Probably explains some (to my point of view) odd behavior I've noticed in the past but didn't fully understand. Sorta wreaks havoc on the "cascading" part of css.

code of conduct - report abuse