!important in CSS specificity points

snap990

New Member
Looking at the CSS specificity specification, there is no mention about how many "points" the \[code\]!important\[/code\] rule is worth.When does one override another? What happens if one is declared after the other? Which rule is declared to be more important? Is there some sort of pattern?From the looks of it, \[code\]!important\[/code\] applies to what has more specificity points to begin with. But what will happen if I declare a bazillion id's stacked with classes and nested deeply? Will it override the rules set in another, less specified rule marked with \[code\]!important\[/code\]?
 
Top