padding-top

Since UXP v2.0

Specifies the top padding for an element.

See: https://developer.mozilla.org/en/docs/Web/CSS/padding-top

Example:

Copied to your clipboard
.someElement {
padding-top: 10px;
}

Quirks and Exceptions

  • UXP does not support the content-sizing box layout model. As such, the width and height of all elements include the padding and border width.
Was this helpful?