Edit in GitHubLog an issue

:nth-last-child

Since UXP v3.0

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

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

Example:

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