Edit in GitHubLog an issue

:last-child

Since: UXP 3, PS 22.0.0

Matches only the last child.

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

Example:

Copied to your clipboard
1sp-button:last-child {
2 margin-right: 0;
3}
Copyright © 2021 Adobe. All rights reserved.