So here's a super pared-down snippet of my code:
[
jsfiddle.net...]
I have default styles for input that are in my header, and inputs that are not in my header. All is well, except IE applies styling to check boxes that all other browsers don't. So I want to exclude checkboxes from my default input style. But when I do this, the default input style then overrides the default header input style. And to make things more confusing, this is the selector:
input:not([type=checkbox])
However if I write that selector "wrong" like so: input:not(type=checkbox)
that works. It skips checkboxes, and it doesn't override header input boxes. But it's incorrect syntax. What is going on here? Any ideas?