So I've only started to learn about code about a week ago and I'm currently making my own website @ https://www.4funerals2come.neocities.org
I'm working on the index page rn and I have added UK/Spain flags in the bottom right corner that will redirect to different language versions of my webpage. I need help with the hover animation for these elements though.
When I visit other webpages, I notice that the element 1. will appear unanimated before you hover with your mouse over it 2. will get zoomed in/more opacity/whatever animation when you hover and 3. once you move your mouse away from the element, only then it goes back to stage 1 smoothly.
I can't find these animation settings anywhere in the source code, and when I try to do it 1. it will appear unanimated at first 2. it will play its respective animation AND go back in place before you even hover away. If I remove the code that makes it go back in place, the transition when hovering away won't be smooth.
I hope I explained my problem well enough, thanks in advance to anyone that can help.