CSS :nth-child() pseudo-class ใช้เลือกองค์ประกอบที่เป็นลูกลำดับที่ n ของพาเรนต์ ไวยากรณ์ (Syntax) :nth-child(/*argument*/) { /* declarations */ } ตัวอย่างที่ 1: จัดสีกล่องตามลำดับ <!DOCTYPE html> <html> <head> <title>CSS :nth-child() Pseudo Class</title> <sty