Edit in GitHubLog an issue

background

Since: UXP 2, PS 22.0.0

Specifies an element's background. Supports colors, multiple background images, as well as linear and radial gradients.

See: https://developer.mozilla.org/en/docs/Web/CSS/background

Example:

Copied to your clipboard
1.someElement {
2 background: url('plugin://assets/star.png') red;
3}

Quirks and Exceptions#

  • Background repeat is not yet supported. As such, background images will not repeat by default.
Copyright © 2021 Adobe. All rights reserved.