Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Assistance needed with hovers

$
0
0

Hi there,

 

In my project, I have several squares. When the mouse is hovered over these squares, I want them to change colour and when the mouse is taken away, I want them to change back. I managed to achieve this by creating copies of the squares with a different colour, and then showing and hiding appropriately with simple show and hide code, but this caused some problems. Therefore, I am wondering if this can be done via code, perhaps with the :hover CSS selector, or some other means. If so, I would be deeply gratified to know how this could be done.

 

Many thanks,

Dee Roberts


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>