Skip to main content

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