Why the hover is not working?

Hey, in Adobe XD my hover is working but not in web, why?

1 Like

Hi,

There could be several reasons for hover not working. You must wire up the hover that you want. Check out this guide:

Let me know if this helps

You can also use a new method to create powerful hover effects:

I did this method, but how would I do this and have it animate or transition smoothly between the two visuals?

If there is animation you would probably have to do the first method.

The first method writes the CSS hover styles. This different styles are applied when you hover over the layer.

The second method hides the original layer completely and shows the hover layer. So if you have animation it will probably be lost.

Can you post an example or a XD artboard?

You probably want to use the first method to create the hover CSS or write the hover CSS manually.