font-slant
The obliqueness of a font. If the current [font-style
] does not support different font weights, the font-style
will be reset to the default setting.
Availability
Available in: Inline, Headers and Footers, Footnotes Area, Media, Footnotes, Paragraph, Figures, Figure Captions, Divider, Block, List, Table, Table Cell, Syntax Highlight, Technical
Type
Available values
Value | Description |
---|---|
normal |
The normal font slant. Used as default. |
italic |
Specifies an italic or oblique font. |
Default value
normal
Inherited
Yes.
Example
inline-emphasis {
font-slant: italic
}