Answer the question
In order to leave comments, you need to log in
How to properly implement &:hover:not(.cancel-class-hover)?
Hello.
Can you please tell me how to implement the logic correctly? &:hover:not(.cancel-class-hover){...
Google didn't give the right answer.
Thank you!
upd
That's right, it works in pure css, but the compiler does not allow such use.
There are no compilation errors, but it doesn't work as it should.
Answer the question
In order to leave comments, you need to log in
.class-name:not(.not-class-name):hover{
//your rules
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question