Is there a way to style ALL input elements except for specific types without using the :not selector?
Here's an example of what I tried:
input,
input:not(type='email') {
background: red;
}
Unfortunately, this approach didn't work as intended.
I want all input elements to have a red background (for illustration purposes only), excluding those of type email. However, I may need to target different types in the future with the same exception.
Is there a way to achieve this without specifying all the input types to target individually, just to exclude a few?