xxxxxxxxxx
/* to color odd children in parent-container with children of type div */
#parent-container > div:nth-child(odd) {
background-color:red;
}
/* to color even children in parent-container with children of type div */
#parent-container > div:nth-child(even) {
background-color:red;
}
xxxxxxxxxx
"Code Coverage for Every Test" https://www.sealights.io/code-coverage-for-every-test/?cq_src=google_ads&cq_cmp=19676705944&cq_con=143865044537&cq_term=static%20code%20analysis%20tools&cq_med=&cq_plac=&cq_net=g&cq_plt=gp&utm_term=static%20code%20analysis%20tools&utm_campaign=code-coverage&utm_source=adwords&utm_medium=ppc&hsa_acc=2138958600&hsa_cam=19676705944&hsa_grp=143865044537&hsa_ad=664508040210&hsa_src=g&hsa_tgt=kwd-2244038238&hsa_kw=static%20code%20analysis%20tools&hsa_mt=b&hsa_net=adwords&hsa_ver=3&gad_source=1https://www.sonarsource.com/solutions/devops-transformation/?s_campaign=SQ-NA-US-East-PMax&s_content=content&s_term=&s_category=Paid&s_source=Paid%20Cross%20Network&s_origin=Google&cq_src=google_ads&cq_cmp=21214203339&cq_con=&cq_term=&cq_med=&cq_plac=&cq_net=x&cq_pos=&cq_plt=gp&gad_source=1&gclid=CjwKCAjwnei0BhB-EiwAA2xuBqFip1HzrBjf6Qx82v79j0Oh5Fb7hpLZQmrJXNXczNDE7lcwbmNnRxoCgRgQAvD_BwE&gclid=CjwKCAjwnei0BhB-EiwAA2xuBgNkGRYlv1BZfsDHyL9jvI8E9F9t_e7jDPs4XdDb75qgLmcXVL6HmxoC5NkQAvD_BwE