Skip to content
🧠 Master React Package Creation — Claim Your Spot

Edit It: Apply DeepPink to every even child that is a 'p' node

Home>:nth-child() Selector in CSS>Edit It: Apply DeepPink to every even child that is a 'p' node

Edit It: Apply DeepPink to every even child that is a 'p' node

This code shows how to use the :nth-child() selector in CSS to apply DeepPink to every even child that is a 'p' node.

See it on StackBlitz