The :first-child
<pre><code>//the selector matches any <p> element that is the first child of any element
p:first-child {
color: blue;
}</code></pre>
//the selector matches all <i> elements in <p> elements
//that are the first child of another element
p:first-child i {
color: blue;
}
Matches a specified element that is the first child of another element.