:only-child
Since UXP v3.0
Matches only an element with no siblings.
See: https://developer.mozilla.org/en-US/docs/Web/CSS/:only-child
Example:
.item:only-child {
background-color: red;
}
Since UXP v3.0
Matches only an element with no siblings.
See: https://developer.mozilla.org/en-US/docs/Web/CSS/:only-child
Example:
.item:only-child {
background-color: red;
}