Edit in GitHubLog an issue


Since: UXP 2, PS 22.0.0

Specifies the type of border to render.

noneNo border
solidA solid border
dashedA dashed border

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

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


Copied to your clipboard
1.button {
2 border-width: 2px;
3 border-style: solid;
4 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.
  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.