I have three items on a menu: Galleries, Contact and About. When the user hovers over galleries I want contact and about to move down and I am having trouble doing this. Anyone know what I should do?
Here is the HTML that I am using:
<div class="nav" align="center">
<a style="opacity: 0;" class="nav_item" id="galleries">GALLERIES</a><br><br><br>
<div id="lower">
<a style="opacity: 0;" class="nav_item" id="about">ABOUT</a><br><br><br>
<a style="opacity: 0;" class="nav_item" id="contact">CONTACT</a>
</div>
</div>
Here is the CSS:
#galleries:hover #lower{
top:40%;
-webkit-transition-property:top;
-webkit-transition-duration:0.5s;
}
EDIT:
I fixed the problem! Thanks everyone for helping!