I must say, it's really difficult to explain this topic but anyway, here goes nothing.
Specificity (it's a tongue twister really!) is one of the most important concepts in CSS. A lot of times when we see that our CSS rules have no affect, we think that there's a bug in our code, but actually, in most cases, it is Specificity that we usually ignore while coding. Here's what it is.
Specificity (it's a tongue twister really!) is one of the most important concepts in CSS. A lot of times when we see that our CSS rules have no affect, we think that there's a bug in our code, but actually, in most cases, it is Specificity that we usually ignore while coding. Here's what it is.