JSFiddle - React, Tailwind, and code Playground
by Dineshkani
HTML
<h1> Simple program</h1>
<div> I am first div </div>
<div> I am second div </div>
<div> I am third div </div>
<div> I am last div </div>
CSS
div:nth-of-type(2){
color:red;
}