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