If I have the following HTML code snippet:
<ul id="some_list">
<li class="hide">Do Not Target This</li>
<li class="hide">Do Not Target This</li>
<li>Target This</li>
<li>Do Not Target This</li>
</ul>
Is there a way to select the first child element within a list that does not have the "hide" class? For example:
#some_list>li:not(.hide):first-child {
color: #777;
}
Unfortunately, this selector does not produce the desired result.