I have like nested list mentioned below. I want to color it 'first li' Certification and Graphics Designing in different color and next list ISO and Brochure in difftent color and inside list ISO in different color. How could be this done?
<ul>
<li>Certification
<ul>
<li>ISO
<ul>
<li><label class="checkbox"><input type="checkbox" value="17" name="category[]"> CE</label></li>
<li><label class="checkbox"><input type="checkbox" value="18" name="category[]"> FSSAI</label></li>
<li><label class="checkbox"><input type="checkbox" value="19" name="category[]"> Trademark</label></li>
</ul>
</li>
</ul>
</li>
<li class="category-name">Graphics Designing
<ul>
<li> Brochure </li>
</ul>
</li>
</ul>