<div>
<h1>h1タグ</h1>
<p>1番目のPタグ</p>
<p>2番目のPタグ</p>
<p>3番目のPタグ</p>
<p>4番目のPタグ</p>
</div>
div p:nth-of-type(2){
color: red;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.