CSS Property: font-style
Italic or oblique text.
Possible Values
Value | Description |
---|---|
normal | Standard “roman” non-italic, non-oblique text. |
italic | Italic text. Selects an italic subset of a font family. If one is not found, oblique is selected. |
oblique | Slanted text. Selects an oblique subset of a font family. If one is not found, text may be generated by slanting a normal font. |
inherit | |
initial | |
unset |
Example
.warning { font-style: italic; }