title: How to style different li's
body: <p>I want to add different styles to different li's and the result should be something like this</p>
  
  <pre><code>test one  | test two | test three
  </code></pre>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>#nav ul,
  li {
    list-style-type: none;
  }
  
  #nav ul li {
    float: left;
    height: 45px;
    padding: 8px;
    width: 100px;
  }
  
  #nav ul li .border {
    border-left: 1px solid #ccc;
  }
  
  #nav ul li a {
    color: red;
    font-size: 15px;
  }
  
  #nav ul li a:hover {
    color: blue;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="nav"&gt;
  
    &lt;ul&gt;
      &lt;li&gt;test one&lt;/li&gt;
      &lt;li class="border"&gt;test two&lt;/li&gt;
      &lt;li class="border"&gt;test three&lt;/li&gt;
    &lt;/ul&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>