JSFiddle - React, Tailwind, and code Playground
HTML
<div id="outer">
<div id="firstParent">
<a>abc</a>
<a>def</a>
<a>hij</a>
</div>
<div id="secondParent">
<a>klm</a>
<a>opq</a>
</div>
</div>
CSS
#outer a:not(:first-child){
color: red;
}