I have this snippet
<li class="overview">
<a href="...">
<span class="txt">Link 1</span>
</a>
<ul class="sub-menu">
<li class="navBI">
<a href="...">
<span class="txt">Link 2</span>
</a>
</li>
</ul>
</li>
And I want to select only Link 1 but I cannot find the answer.
I tried .overview .txt
but it also choose Link 2.
I am not so familiar with the CSS Combinators.
I also tried .overview > a > .txt
.
Is there something I miss?