Edit in GitHubLog an issue

:last-child

Since UXP v3.0

Matches only the last child.

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

Example:

Copied to your clipboard
sp-button:last-child {
margin-right: 0;
}
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.