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

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

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

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

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

See it on StackBlitz