Skip to content

Instantly share code, notes, and snippets.

@davidpdrsn
Created June 3, 2013 12:57
Show Gist options
  • Save davidpdrsn/5697993 to your computer and use it in GitHub Desktop.
Save davidpdrsn/5697993 to your computer and use it in GitHub Desktop.
Foundation nav-top css reset
nav.main {
ul.nav-bar {
margin: 0;
height: auto;
background: none;
padding: 0;
> li {
float: none;
display: block;
position: static;
padding: 0;
margin: 0;
border: none;
line-height: normal;
box-shadow: none;
&:hover {
background: none;
}
> a:first-child {
position: static;
padding: 0;
display: inline;
text-decoration: underline;
color: blue;
}
input[type=search] {
margin-bottom: 0;
}
}
}
} // nav.main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment