menu hover effect
Hi everyone
I want rebuilt this effect
https://www.youtube.com/watch?v=qmtD6asybt4
my code :
the css:
the problem is the hover is not working my text disappear on the hover.
can I get some explication
thanks by advance.
Online Tutorials
YouTube
Creative Menu Item Hover Effects | CSS Hover Effects
Please LIKE our Facebook page for daily updates...
https://www.facebook.com/Online-Tutorial-Html-Css-JQuery-Photoshop-1807958766120070/
Music Credit
Track: Tobu - Roots [NCS Release]
Music provided by NoCopyrightSounds.
https://www.youtube.com/watch?v=7wNb0pHyGuI
4 Replies
you're not done with the video by the looks of things
your CSS moves the first span out of view instantly because of the transform without a transition property, and the second one isn't moved because you're missing the
ul li:hover span:nth-child(2)
ruleThanks for your answers
I'd also suggest adding
aria-hidden
to the duplicate text.
If someone on a screen reader came across that navigation, it would read all the text to them, so they'd hear the same word two times. That would be really annoying 😅
By simply adding aria-hidden="true"
to second span in each one, you solve that issue.thanks