JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    <p class="b">first</p>
    <p class="b">second</p>
    <p class="b">third</p>
    <p class="b">fourth</p>
</div>

CSS

.b:nth-of-type(1)
{
    border:5px solid black;
}