This div should have a green background.

.myClass { background-color: green }
div:not(h1)  { background-color: red }
Green background is applied by a rule of specificity (0,0,1,0)

Red background is applied by a rule of specificity (0,0,0,2)