title: CSS select all li which not contains a tag
body: <p>I want to select all li which not contains a tag in css:</p>
  
  <pre><code>ul.sf-menu li:not(a)
  </code></pre>
  
  <p>But looks like it is not working.</p>
  
  <p>Need help</p>
  
  <pre><code>&lt;ul class="sf-menu sf-js-enabled sf-shadow"&gt;
      &lt;li&gt;
          &lt;a href="/ "&gt;
      &lt;/li&gt;
      &lt;li&gt; need to select this li because it is not contains a href
          A 
          &lt;ul style="visibility: visible; display: block"&gt;
              &lt;li&gt;
                  &lt;a href="/B-1"&gt;
              &lt;/li&gt;
              &lt;li&gt;
                  &lt;a href="/B-2"&gt;B-2&lt;/a&gt;
              &lt;/li&gt;
           &lt;/ul&gt;
        &lt;/li&gt;
   &lt;li&gt;
  </code></pre>
  
  <p></p>