<div class="list">
  <p>最初の要素が赤色に変わります。</p>
  <p>変わりません</p>
  <p>変わりません</p>
  <p>変わりません</p>
  <p>変わりません</p>
</div>
.list p:first-child {
  color: #f00;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.