I have list of elements:
<ul>
<li class="one">some text</li>
<li class="one">some text whit red background</li>
<li class="two">some text</li>
<li class="one">some text</li>
<li class="one">some text</li>
<li class="one">some text whit red background</li>
<li class="two">some text</li>
<li class="one">some text</li>
</ul>
I need mark elements with class 'one' only before class 'two'. This is possible with a clean css?
I tried nth-child and some, but unsuccessfully.
UPDATE.