Edit in GitHubLog an issue

:first-child

Since UXP v3.0

Matches only the first child.

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

Example:

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