so I’m creating a menu, and I’m almost done with submenu, but I have one problem, it blinks when I move my mouse over the blue border, you can see demo here – http://jsfiddle.net/367ms/8/ . Can you help me fixing it?
Share
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.
There’s a height property for
lithat’s 60px and one forli:hoverthat’s 40px. Upon hovering, you can see the 20px gap which is causing the flickering. I believe it’s alternating between the two rules very rapidly. To fix, either remove the height property on theli:hoveror set it to 60px.