Reputation: 11012
Suppose there is style for div
and some more class's -
div, .exceptDiv, .bigDiv {
/*style...*/
}
and I want to save a class which stay clear from any style - clearDiv
.
I tried -
div:not(".clearDiv"), .exceptDiv, .bigDiv {
/*style...*/
}
but it doesn't work .
I'm looking for a solution which use not(...)
if it possible .
Upvotes: 0
Views: 27
Reputation: 3113
Use not()
correctly!
div:not(".clearDiv")
is not valid, remove the quotes: div:not(.clearDiv)
Upvotes: 2