Zitat von hellbringer
Beitrag anzeigen
Zum Schlagwort nth-child noch eine Ergänzung zum CSS aus #12:
Code:
ul#columnlist li:nth-child(3n+1){ background-color: green; } ul#columnlist li:nth-child(3n+2){ background-color: yellow; } ul#columnlist li:nth-child(3n+3){ background-color: blue; }
Kommentar