Example of the Problem:
<div>
<h2> one
<div>
<h2> two
<div>
<h2> three
I want to select the second h2 with css. I know there is something like h2:nth-child()
, but this does not work here because every h2 is child(1) under the divs. So how do I get this specific item?