Edit in GitHubLog an issue

border-style

Since UXP v2.0

Specifies the type of border to render.

ValueRendering
none
No border
solid
A solid border
dashed
A dashed border

All other CSS border styles are treated as solid, including hidden.

See: https://developer.mozilla.org/en/docs/Web/CSS/border-style

Example

Copied to your clipboard
.button {
border-width: 2px;
border-style: solid;
border-color: white;
}

Quirks and Exceptions

  • Not all Spectrum UXP components allow border overrides.
  • Border styles do not work for specific sides; they can only be applied to the entire element.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.