Skip to content

Instantly share code, notes, and snippets.

@MadaraUchiha
Created May 12, 2012 20:37
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 MadaraUchiha/2668857 to your computer and use it in GitHub Desktop.
Save MadaraUchiha/2668857 to your computer and use it in GitHub Desktop.
Untitled
#menu {
width: 900px;
margin: 0 auto;
}
#menu ul {
margin: 0;
padding: 0;
list-style: none;
}
#menu li {
float: left;
width: 100px;
}
#menu li:nth-child(4) {
margin-left: 300px;
}
#menu li a {
float: left;
width: 100px;
}
<div id="menu">
<ul class="menu">
<li class="item-101"><a href="/">Home</a></li>
<li class="item-113"><a href="/sobre">Sobre</a></li>
<li class="item-114"><a href="/portfolio">Portfolio</a></li>
<li class="item-115"><a href="/bastidores">Bastidores</a></li>
<li class="item-116"><a href="/blog">Blog</a></li>
<li class="item-117"><a href="/contato">Contato</a></li>
</ul>
</div>
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment