facn5 / shajaraWebSolutions

portfolio for web development agency based in Nazareth
0 stars 2 forks source link

Avoid using !important #32

Open msachi opened 5 years ago

msachi commented 5 years ago

This is generally pretty bad practice, mainly because it's got the highest-possible specificity, meaning that there's no way to override it if you (or someone else) ever needs to do it in the future.

There are better ways to increase specificity, e.g. by combining selectors, using multiple classes, ids instead of classes etc.