Have you ever wondered why parts of your site didn’t work as expected or change as you thought they would? It may have been an issue with specificity. What is specificity? It’s how the browser gives precedent to certain things and decides what CSS values are relevant based on whether you use element tags, classes or ids. This is a story about how Osania got a better understanding of specificity and why you should consider it. How do the elephants come into it? All will be revealed.
Specificity, as explained using an analogy of elephants