jQuery :nth-child() Selector Selects all elements that are the nth-child of their parent.
- Index: Index provided. Index starts from
- even: even number of child elements get selected.
- odd: odd number of child elements will get selected.
- equation: select child elements by solving a formula(an+b).