JSFiddle - React, Tailwind, and code Playground

by Petr Haluza

HTML

<ul>
<li>4</li>
<li>4</li>
</ul>

CSS

li:last-child:not(:first-child) {color:red;}
/*li:not(:first-child):not(:last-child)*/