어떤 원소의 첫 번째 아이인 <p> 원소의 배경색을 설정한다. 요소, "연청색"으로.
코드
p:first-child { background-color: lightblue; }
실행결과