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
.someElement {
font-style: italic;
}

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 © 2024 Adobe. All rights reserved.