title: How to create vertical lines between items in menu with :after selector
body: <p>I have a menu with borders half way up besides each element (supposed to be between every element except first one). I try to achieve this with the after-selector, e.g. a:not(:first-child):before but it doesn't work. Look at the example below, the first vertical line should be removed. The code for the vertical lines has been marked below in the code.</p>
  
  <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>.meny 
  {
      list-style-type: none;
      margin: 0;
      padding: 0;
      overflow: hidden;
      background-color: black;
  }
  
  .meny li 
  {
      float: left;
  }
  
  .meny li a 
  {
      display: block;
      color: white;
      text-align: center;
      padding: 17px 20px 15px 20px;
      position: relative; 
      text-decoration: none;
      font-size: 12pt;
      text-transform: uppercase;
  }
  
  /* Below is the code for the vertical lines */
  
  .meny li a:after 
  {
      content:""; 
      background: white; 
      position: absolute; 
      bottom: 0; 
      left: 0; 
      height: 60%; 
      width: 1.5px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="meny"&gt;
      &lt;li&gt;&lt;a href="#"&gt;Item&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Item&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Item&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#"&gt;Item&lt;/a&gt;&lt;/li&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any tips?</p>