DEV Community

Discussion on: IDs vs Classes: a CSS Specificity Chapter

Collapse
 
lautarolobo profile image
Lautaro Lobo

Oh yes!

I totally agree with you, you should use it only in specific cases, and don't overuse it.

This Stack Overflow question got great answers on the topic.

Also MDN has some rules of thumb to know when to use !important.

Thanks for pointing it out!