Source: https://www.lottejackson.com/learning/nth-child-cicada-principle. Version PDF de l’article.
1 2 3 4 5 |
.Item:nth-child(2n+1) .Item-image {…} .Item:nth-child(3n+2) .Item-image {…} .Item:nth-child(5n+3) .Item-image {…} .Item:nth-child(7n+5) .Item-image {…} .Item:nth-child(11n+7) .Item-image {…} |