Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I think you are looking for this</p> <p><strong>html</strong></p> <pre><code>&lt;div class="logo grid_5 omega"&gt; &lt;ul&gt; &lt;li&gt;&lt;h1&gt;&lt;a href="default.html"&gt;karma.&lt;/a&gt;&lt;/h1&gt;&lt;/li&gt; &lt;li&gt;&lt;p id="tagline"&gt;A stop motion animation&lt;/p&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;nav class="grid_7 omega navigation"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="about.html"&gt;About&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="design.html"&gt;Process&lt;/a&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="#"&gt;Models&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Backgrounds&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Animation&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#"&gt;Post-production&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;li&gt;&lt;a href="style.html"&gt;Style&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="reflection.html"&gt;Reflection&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;/nav&gt; </code></pre> <p><strong>css</strong></p> <pre><code>.header.grid_12.omega { margin-top:40px; box-shadow:0 3px 10px #222; background:#FFFFFF; } .logo.grid_5.omega { float:left; } .logo.grid_5.omega li{ float: left; line-height: 40px; list-style-type: none; margin-right: 25px; padding-top: 14px; } .navigation{ float:left; } nav ul ul { display:none; } nav ul li:hover &gt; ul { display: block; } nav ul { background: #FFF; padding: 0 20px; list-style: none; position: relative; display: inline-table; } nav ul:after { content: ""; clear: both; display: block; } nav ul li { float: left; } nav ul li:hover { background: #4b545f; } nav ul li:hover a { color: #fff; } nav ul li a { display: block; padding: 25px 40px; color: #757575; text-decoration: none; } </code></pre> <p><a href="http://jsfiddle.net/pYkvK/1/" rel="nofollow">jsFiddle File</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload