nth css child selector css w3schools code example Example: child css p:nth-child(2) { background: red; }