Skip to content

Instantly share code, notes, and snippets.

@nhahaag nhahaag/_menu.scss Secret
Created Nov 16, 2017

Embed
What would you like to do?
.menu-navigation-container ul {
position: relative;
width: 100%;
float: left;
margin: 0 0 100px 0;
padding: 0;
list-style: none;
li {
position: static;
float: left;
padding: 15px 15px 15px 0;
&:hover {
> .sub-menu {
display: block;
}
}
}
.sub-menu {
position: absolute;
top: 46px;
left: 0;
z-index: 1;
width: 100%;
display: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.