I have the following code. I want to have different background color for blockquotes having innertext Text2 & Text4, and different background for blockquotes having innertext Text1 & Text3. Need help.
<div class="quotes">
<blockquote>Text1</blockquote>
<blockquote>Text2</blockquote>
<blockquote>Text3</blockquote>
<blockquote>Text4</blockquote>
</div>