Introduction
Specificity rules help decide which CSS style wins when multiple styles try to change the same thing on a webpage.
You want to change the color of a button but other styles also set its color.
You have many CSS rules and need to know which one applies to a heading.
You want to override a style from a library without changing the library code.
You notice your style is not showing and want to find out why.
You want to write CSS that works well with other styles on the page.