Edit in GitHubLog an issue

:first-child

Since: UXP 3, PS 22.0.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}
  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.