A Pen by Brandon R. Stoner on CodePen.
Created
May 3, 2014 03:08
-
-
Save monokrome/11490991 to your computer and use it in GitHub Desktop.
A Pen by Brandon R. Stoner.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav> | |
<ul> | |
<li data-level='1'><a href='#'>Example 1</a></li> | |
<li data-level='2'><a href='#'>Example 2</a></li> | |
<li data-level='3'><a href='#'>Example 3</a></li> | |
<li data-level='2'><a href='#'>Example 4</a></li> | |
<li data-level='2'><a href='#'>Example 5</a></li> | |
<li data-level='1'><a href='#'>Example 6</a></li> | |
<li data-level='3'><a href='#'>Example 7</a></li> | |
<li data-level='1'><a href='#'>Example 8</a></li> | |
<li data-level='1'><a href='#'>Example 9</a></li> | |
</ul> | |
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html, body { | |
background-color: #CCC; | |
} | |
nav ul { | |
margin: 0px; | |
padding: 0px; | |
background-color: #FFF; | |
list-style: none; | |
} | |
nav li { | |
padding: 0.4ex 1em; | |
display: inline-block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment