wie man die Hintergrundfarbe in HTML -Divelementen in CSS abwechselte
/* 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;
}
Anxious Alligator