This question might sound strange since an easy way to handle it is just to add a specific class or id to those
. But my html is rendered by some other tools so that I cannot manage those specific <p>
myself, but I just want to padding the <p>
after <h3>
here. Those <p>
are all children of a <section>
, the code
<h3>ipsum</h3>
<p>lorem</p>
<p>foo</p>
I tried to solve this problem with h3 + p selector, but it can only do change to the first <p>
. I want to select all the p after h3.