Hello, I added animation to my sub links, but it only works once, it doesn’t work the second time or it doesn’t repeat. I need to refresh the page to see it working again. why?
my website: lefevreandco.com
pass:maonge
A user implemented CSS animation for submenu links that only triggers once and requires a page refresh to work again. They’re seeking help to make the animation repeat on subsequent interactions.
Technical Implementation:
visible-is class on mouseover/mouseout eventsSuggested Solutions:
animation with animation-iteration-count: infinite instead of transitionsCurrent Status:
The discussion remains open with the original poster sharing their code (jQuery + CSS transitions). The animation appears to be transition-based rather than keyframe-based, which may explain why it doesn’t repeat without a page refresh. Awaiting further troubleshooting or implementation of the suggested animation approach.
Hello, I added animation to my sub links, but it only works once, it doesn’t work the second time or it doesn’t repeat. I need to refresh the page to see it working again. why?
my website: lefevreandco.com
pass:maonge
I guess you used transition instead of creating an animation in CSS and make it infinite so that you get what you need refer to the helper animation below.
thanks
Hi @lefevreandco ,
Did you use CSS animation or JS? Can you show the code you have used for that so that I can investigate more on the issue and help you fix it.
Thanks,
Sandesh
this is my code