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
sp-button:first-child {
margin-left: 0;
}
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.