Skip to content

Instantly share code, notes, and snippets.

@Jaswetz
Created January 25, 2013 20:56
Show Gist options
  • Save Jaswetz/4637781 to your computer and use it in GitHub Desktop.
Save Jaswetz/4637781 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
#navsite ul li ul
{
position: absolute;
width: 7em;
left: -999em;
float: none;
border-bottom: none;
}
#navsite ul ul
{
background: blue;
}
<!-- content to be placed inside <body>…</body> -->
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about/">About</a></li> <li><a href="/archives/">Archives</a></li> <li><a href="/writing/">Writing</a>
<ul>
<li><a href="/writing/releasing-css">Releasing CSS</a></li> <li><a href="/writing/css-cookbook">CSS Cookbook</a></li>
</ul>
</li>
<li><a href="/speaking/">Speaking</a></li> <li><a href="/contact/">Contact</a></li>
</ul>
</div>
// alert('Hello world!');
{"view":"split","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