Skip to content

Color change for .show-10-secondary-axes #129

Closed Answered by ramiy
sugimotosatoko asked this question in Q&A
Discussion options

You must be logged in to vote

@sugimotosatoko

Yes, it's possible with the :nth-of-type() CSS pseudo-class.

To stye the fifth and tenth lines:

#example tr:nth-of-type(5n) td {
  /* ... */
}

Read more: https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-of-type

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ramiy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants