When two CSS selectors go head to head, it's up to you to judge which one will win out! Keep ranking up as you learn all about CSS specificity, and you'll face tougher and tougher showdowns. By the final level, you'll be a true master.
Learn about how different types of CSS selectors affect specificity, including elements; classes; IDs; pseudoclasses such as
:hover(); and pseudoelements such as
Learn the difference between the new pseudoclasses
:where() when it comes to specificity.
You should be familiar with the basics of CSS selectors.