Given the example below, each row needs to have three text columns, i.e. three sentences, where the middle ones also need to have a background-color. Is it possible to do that with the nth-child() selector?
p {
display: inline-block;
width: 30%;
}
p:nth-child(2n+0) {
background: red;
}
<p>The first paragraph.</p>
<p>The second paragraph.</p>
<p>The third paragraph.</p>
<p>The fourth paragraph.</p>
<p>The fifth paragraph.</p>
<p>The sixth paragraph.</p>
<p>The seventh paragraph.</p>
<p>The eight paragraph.</p>
<p>The ninth paragraph.</p>