Home / CSS Tips Generated By ChatGPT / nth-of-type for Styling Specific Elements in CSS Target specific types of elements among their siblings. Source Code p:nth-of-type(2) { color: red; }