Consider this HTML:
<p>Foo</p>
<p>
<br>
</p>
<p>Bar</p> <!-- I want to select this p element -->
<p>Baz</p>
Is there any way in CSS to select "the p
element after a p
element containing a br
element"?
I know I can fall back to using JavaScript for this, but I was curious to see if there was some funky combination of sibling selectors, or some magical pseudoclass I'm yet to come across.