:not with :focus

So logically whitch one is the first?

Like

a:focus{color: red;}

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

Whitch one to override each other?

Thanks!

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: