Edit in GitHubLog an issue

font-style

Since UXP v2.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.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.