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