.class + p:first-child{
}
The code above isn't functioning properly, unless it's an element instead of a class, like p:first-child.
<div class="wrap">
<h3></h3>
<div style="clear:both"></div>
<p></p>
<p></p>
<p></p>
<p></p>
How can I select the first p
based on the class wrap? I prefer not to apply a class name directly to the p
elements.