<section>
  <!-- h1 + p 는 h1 바로 뒤에 나오는 p 선택 -->
  <p>안녕하세요</p>
  <h1>안녕하세요</h1>
  <p>안녕하세요</p>
  <p>안녕하세요</p>
</section>
h1 + p {
  color:red;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.