Understand how CSS decides which rules apply when conflicts occur by calculating the specificity score: (Inline, IDs, Classes, Elements).
Toggle parts of the selector to see how the specificity score changes.
style="..."
#header
.card
[type="button"]
:hover
button
::before