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.