:nth-child - CSS pseudo selector in CSS
Milap Patel
Technical Manager | Node.js | React | JavaScript | AWS Certified Cloud Practitioner | PHP | WordPress | Front-end | MongoDB | MySQL
The :nth-child selector allows you to select one or more elements based on their source order, according to a formula.
It is defined as a “structural pseudo-class”, meaning it is used to style content based on its relationship with parent and sibling elements.