JSFiddle - React, Tailwind, and code Playground

HTML

<div id="topdiv">
    <div class="middlediv">
        <div>A</div>
        <div>B</div>
        <div>C</div>
    </div>
</div>

CSS

#topdiv .middlediv > div:nth-child(2) {
    font-weight:bold;
    color:red;
}