: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 clipboard1.row:nth-of-type(even) {2 background-color: #E8E8E8;3}