Edit in GitHubLog an issue

font-style

Since: UXP 2, PS 22.0.0

Sets the font style for the element. Supports normal (default) and italic.

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

Example

Copied to your clipboard
1.someElement {
2 font-style: italic;
3}

Quirks and Exceptions#

  • Text edit fields do not support overriding the font style.
  • Not all Spectrum UXP components support overriding the font style.
Copyright © 2021 Adobe. All rights reserved.