The :not()
pseudo-clas is
a negation selector which
selects those elements that
do NOT meet a specific condition.
In the example, we used the :not
selector
to mean that all elements which are not
links should have a text color of maroon.
We can combine :not()
with other
selectors too.
Here, all ice creams which
do not have an available
class on them, get selected
using the not()
selector.