I want to style ALL inputs except for specific types.
For example:
input,
input:not(type='email') {
background: red;
}
The above doesn't work
So I want all inputs to have a background of red (obviously I don't this is just an example), except for input elements of type email. The type I am trying to target with the :not selector could be different.
Can this be acheived? If not, what is the best solution?
If you're curious I am trying to avoid specifying all types of input that I want to target just so the types I don't want targeting don't get that style.