My concept involves a shop menu displayed as a list:
<li class="shop-menu"><a href="{{url('shop')}}">shop</a></li>
When the shop-menu is hovered over (using a mouseover jquery function), I aim to make a div named
shop-menu-div
fadeIn. I have managed to make the menu pop up successfully without a fade-in animation by initially setting display:none in the CSS and then changing it to display:contents when hovered over by using addClass('active').
However, I desire for this shop-menu-div to fadeIn when hovered over and fadeout when the mouse leaves the area.
I have experimented with various methods, including using CSS keyframes, but have not been successful. How can I achieve this effect?