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}
Copyright © 2021 Adobe. All rights reserved.