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 clipboard1.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.