Edit in GitHubLog an issue

:nth-child

Since UXP v3.0

Matches only the Nth child. Can use an expression or even or odd.

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

Example:

Copied to your clipboard
.row:nth-child(even) {
background-color: #E8E8E8; /* color even rows */
}
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.