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

Edit It: Apply DeepPink to the 3rd 'p' element type, 5th, 7th, and so on

Home>:nth-of-type() Selector in CSS>Edit It: Apply DeepPink to the 3rd 'p' element type, 5th, 7th, and so on

Edit It: Apply DeepPink to the 3rd 'p' element type, 5th, 7th, and so on

This code shows how to use the :nth-of-type() selector in CSS to apply DeepPink to the 3rd 'p' element type, 5th, 7th, and so on.

See it on StackBlitz