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

Edit It: Apply DeepPink to the 'p' nodes that are one of the first three children of their parent

Home>:nth-child() Selector in CSS>Edit It: Apply DeepPink to the 'p' nodes that are one of the first three children of their parent

Edit It: Apply DeepPink to the 'p' nodes that are one of the first three children of their parent

This code shows how to use the :nth-child() selector in CSS to apply DeepPink to the 'p' nodes that are one of the first three children of their parent.

See it on StackBlitz