JSFiddle - React, Tailwind, and code Playground

by darkajax

HTML

<div>
first div
</div>
<div>
second div
</div>

CSS

div:last-of-type {
  background: red;
}