Reputation: 377
I can not put two different rule in the "not" selector Example:
This code works:
input:not([type=submit]) {
// Styling here
}
but this code does not work:
input:not([type=submit], [type=reset]) {
// Styling here
}
Why the second code does not work?
Upvotes: 0
Views: 91
Reputation: 103338
Your CSS syntax is invalid.
Use 2 :not
selectors:
input:not([type=submit]):not([type=reset]) {
// Styling here
}
Upvotes: 6