I need a CSS selector that matches all input tags where the type is not checkbox .
This match:
<input value="Meow!" />
<input type="password" />
... but it does not :
<input type="checkbox" />
Because type checkbox!
This is what I have at the moment:
input:not(type="checkbox")
Unfortunately, it does not work !
So here are my questions:
- How to fix my CSS3 selector?
- Is this possible without CSS3 and JavaScript?
- Is this possible without CSS3, but using JavaScript?
Thanks in any advice!
source
share