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

Edit It: Apply DeepPink to the first three 'p' element type

Home>:nth-of-type() Selector in CSS>Edit It: Apply DeepPink to the first three 'p' element type

Edit It: Apply DeepPink to the first three 'p' element type

This code shows how to use the :nth-of-type() selector in CSS to apply DeepPink to the first three 'p' element type.

See it on StackBlitz