:not with :focus

So logically whitch one is the first?


a:focus{color: red;}

a:not(:focus){color: blue;}

Whitch one to override each other?


they do not override each other, they are complementary:

so if it is focused, the color will be red; if not focused it will be blue. I didn’t know about this one, thanks :slight_smile: