title: How we can add same class only for the first group child
body: <p>I want to add classes for only the first group listed items in a nested ul li list .</p>
  
  <pre><code>&lt;ul&gt;
  &lt;li class="first-group"&gt;
      &lt;ul&gt;
          &lt;li&gt;&lt;/li&gt;
      &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li class="first-group"&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>