Is there a CSS selector for the nth of a matching element, regardless of any parents.
e.g. in the following how to select just "The second paragraph." without also the fourth one?
<div>
<p>The first paragraph.</p>
<p>The second paragraph.</p>
</div>
<div>
<p>The third paragraph.</p>
<p>The fourth paragraph.</p>
</div>
I thought p:nth-oftype(2) would do it but that selects both the second and fourth (which is the 2nd of each parent div).
JSFiddle - https://jsfiddle.net/km4nbfz9/
EDIT - This is just ONE example bit of HTML, question is how to make this work for the n'th element that matches CSS selector regardless of parents and structure.