Skip to content
Latest: Publish JavaScript Packages to NPM Like a Pro!

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