Is it possible to use the nth-child
with modulo? I know you can specify a formula, such as
nth-child(4n+2)
But I can't seem to find if there's a modulo operator. I've tried the following examples below, and none seem to work:
nth-child(n%7)
nth-child(n % 7)
nth-child(n mod 7)
See Question&Answers more detail:os