I'm trying to target the next p block in the following code. While the FOO highlights in yellow, Foo 2 is not highlighting in red, even though my CSS uses the adjacent sibling syntax (+). What could be going wrong here?
<style>
p span.test { background-color: yellow; }
p span.test + p { background-color: red !important; }
</style>
<p>
<span class="test">Foo</span>
</p>
<p>Foo 2</p>