Edit in GitHubLog an issue

:nth-last-of-type

Since UXP v3.0

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

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

Example:

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