title: How to use not selector to ignore specific ul li element from css?
body: <p>How to use not selector to ignore specific ul li element from css?</p>
  
  <pre><code>&lt;ul class="list"&gt;
   &lt;li&gt;&lt;/li&gt;
   &lt;li&gt;
     &lt;ul&gt;
       &lt;li&gt;&lt;/li&gt;
     &lt;/ul&gt;
   &lt;/li&gt;
   &lt;li&gt;
     &lt;ul class="innerli"&gt;
       &lt;li&gt;&lt;/li&gt;
     &lt;/ul&gt;
   &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I have tried with below code but not working</p>
  
  <pre><code>.list li:not(.innerli li){padding-left:10px;width: 500px;}
  </code></pre>