Edit in GitHubLog an issue

border-radius

Since UXP v2.0

Shorthand for setting the border radius.

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

Example

Copied to your clipboard
1.someElement {
2 border-radius: 4px;
3}
4.card {
5 border-radius: 4px 0;
6}

Quirks and Exceptions

  • Not all Spectrum UXP components allow border overrides.
  • If you need to clip an image, be sure to set overflow: hidden.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.