apply style to second css class elemtn code example Example: child css p:nth-child(2) { background: red; }