JSFiddle - React, Tailwind, and code Playground
by tea4two
HTML
<ul class="list">
<li>list 01</li>
<li>list 02</li>
<li>list 03</li>
<li>list 04</li>
<li>list 05</li>
<li>list 06</li>
<li>list 07</li>
<li>list 08</li>
</ul>
CSS
/* .list li:nth-child(even) {
background-color: yellow;
} */
.list li:nth-child(n+3) {
background-color: yellow;
}