I have read other articles on this and I am wondering what it is that I'm doing wrong.
I have a container I wish to display when a menu item is hovered over. Here is the container.
<section class="mega_menu_container">
<div class="mega_menu_outer">
<div class="mega_menu_inner">
Inner MEGA MENU
</div>
</div>
</section>
Here is the Menu container
<a href="#" class="menu_item1"><div class="menu_item1"><Strong>Item</Strong></div></a>
Here is the CSS I am using to control it.
.mega_menu_container {
width: 100%; position: fixed; z-index: 99999999;
opacity: 0.0;
-webkit-transition: all 500ms ease-in-out;
-moz-transition: all 500ms ease-in-out;
-ms-transition: all 500ms ease-in-out;
-o-transition: all 500ms ease-in-out;
transition: all 500ms ease-in-out;
}
.menu_item1:hover + .mega_menu_container {
opacity: 1.0;
}
.menu_item1{flex-direction: row;}
I really have tried with other answers.
Thanks for your help. :)