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

Edit It: Apply DeepPink to the 3rd child element, 7th, 11th and so on that is a 'p' node

Home>:nth-child() Selector in CSS>Edit It: Apply DeepPink to the 3rd child element, 7th, 11th and so on that is a 'p' node

Edit It: Apply DeepPink to the 3rd child element, 7th, 11th and so on that is a 'p' node

This code shows how to use the :nth-child() selector in CSS to apply DeepPink to the 3rd child element, 7th, 11th and so on that is a 'p' node.

See it on StackBlitz