3 ms·
Don't use !important and don't use any id. If you are reduced to needing to use either of them, it means that your CSS had gotten out of hands and you are tryi
by Raphmedia 10y ago
Don't use !important and don't use any id.
If you are reduced to needing to use either of them, it means that your CSS had gotten out of hands and you are trying to apply band-aids.
If you ever need to use !important or an id to fight selector specificity, take a step back and rework all your CSS.
Source: 5 years of not using either of those as a front-end developer.