The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Performance of !important
Does using !important in your CSS have any negative effects on performance? Is it better to avoid them at all costs, even if it means longer, yet more specific rules in your stylesheets?
I don’t think there is any performance impact, but you should generally try to avoid !important and use specificity to your advantage. More here: <http://isobar-idev.github.com/code-standards/#_calculating_specificity>
Thanks guys! And thank you Emil for the link.