Css – Can the :not() pseudo-class have multiple arguments


I'm trying to select input elements of all types except radio and checkbox.

Many people have shown that you can put multiple arguments in :not, but using type doesn't seem to work anyway I try it.

form input:not([type="radio"], [type="checkbox"]) {
  /* css here */

Any ideas?

Best Solution

Why :not just use two :not:


Yes, it is intentional