Specificity is something that
we sometimes forget to keep a
track of.
This causes errors.
In the code example below,
we have two CSS rules.
The first rule selects all <p>
elements
and
sets their text color to blue.
The second rule uses an ID selector
#special-paragraph
to select a specific
<p>
element and change its color to red.
We can observe that ID is more
important class.
Similarly, class is more important
than using elements to select.