JSFiddle - React, Tailwind, and code Playground
HTML
<h1>Headline One</h1>
<div>
<p>first p element</p>
<hr />
<h1>Headline Two</h1>
<p>second p element</p>
<p>third p element</p>
<p>fourth p element</p>
</div>
CSS
p {
background:#AAAAFF;
}
p:nth-of-type(3) {
background:#FFAAAA;
}