Edit It: Apply DeepPink to every odd child that is a 'p' node
This code shows how to use the :nth-child() selector in CSS to apply DeepPink to every odd child that is a 'p' node.
See it on StackBlitzThis code shows how to use the :nth-child() selector in CSS to apply DeepPink to every odd child that is a 'p' node.
See it on StackBlitz