Reputation: 5
I have menu item in html with following code:
When you move your mouse over div#heli
or div#reflection_heli
I need it to shift div#heli
up and div#heli_reflection
down at the same time. I managed to make it shift only one of the div at time or 2 divs excatly the same way.
Upvotes: 0
Views: 93
Reputation: 1144
You need to use a wrapper element, your existing li is good. And when it's in hover state (li:hover
) make the changes for #heli and #heli_reflection
Upvotes: 2