Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created June 30, 2016 15:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/c6c27cd06d9e24305f7d1d2fd8e46425 to your computer and use it in GitHub Desktop.
Save billerickson/c6c27cd06d9e24305f7d1d2fd8e46425 to your computer and use it in GitHub Desktop.
.nav-menu .mega-menu {
left: -9999px;
opacity: 0;
position: absolute;
-webkit-transition: opacity .4s ease-in-out;
-moz-transition: opacity .4s ease-in-out;
-ms-transition: opacity .4s ease-in-out;
-o-transition: opacity .4s ease-in-out;
transition: opacity .4s ease-in-out;
width: 100%;
z-index: 99;
background: #009D67;
padding: 30px 0;
}
.nav-menu .mega-menu .wrap {
max-width: 1200px;
margin: 0 auto;
}
.nav-menu .menu-item:hover > .mega-menu,
.nav-menu .menu-item.submenu-active > .mega-menu {
opacity: 1;
left: 0;
}
.nav-menu .mega-menu a {
color: #fff;
display: block;
font-size: 14px;
margin-bottom: 12px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment