i have this unordered list
<ul>
<li> test1</li>
<li>test2 </li>
<li class="current">test3</li>
<li>test4</li>
</ul>
what i want to do is to select the .current
child and access the test2
from it. That means to select .current
and go back one step back to test2
Same for test1
go back two steps to get test1
and associate different CSS to it.
Is it feasible ?