I have a div with a :hover pseudo-class that applies many CSS effects to indicate to the user that they are hovering over it.
How do I disable the CSS effect when the user hovers over it by adding a .disable class?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For all browsers except IE < 9:
Change
.a:hover {to.a:not(.disable):hover {