M
M
Michael R.2018-05-12 19:14:31
css
Michael R., 2018-05-12 19:14:31

How to optimize hover animation (css/html/jquery)?

Hey!
Wrote the animation of the drop-down menu list when hovering on its parent.

There is one significant problem in the general 'construction' - hover over the parent several times in a row and you will see that the drop-down list is not always shown. Until its first function + animation completes, the second one will not start.

Question: how to optimize the code so that it reacts by 'dropping down' the list for each hover of the parent?

Thank you!

Code at codepen.io.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question