Edit in GitHubLog an issue

:nth-of-type

Since UXP v3.0

Matches only the Nth child of a given type. Can use an expression or even or odd.

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

Example:

Copied to your clipboard
1.row:nth-of-type(even) {
2 background-color: #E8E8E8;
3}
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.