JSFiddle - React, Tailwind, and code Playground

by joshvogt

HTML

<div class="first">
    <p>There are three sentences in this div.<p>
    <p>One of them is not true.</p>
    <p>There isn't a fourth sentence in this div.</p> 
        <h2>A Heading</h2> 
    <p>This is the fourth sentence.</p>     
</div>

CSS

.first p ~ p{
    color:green;
}