Definition, Meaning & Synonyms
font-style
CSS Property
fɔnt staɪl
Definition
A CSS property that specifies the style of the font for text.
Examples
font-style: normal;– This sets the font to a normal, upright style.font-style: italic;– This changes the font to an italic style for emphasis.font-style: oblique;– This creates a slanted version of the font, similar to italic.
Meaning
Font style determines how text is displayed, affecting its appearance by altering attributes like slant, weight, and decorative elements.
Synonyms
- typeface style
- font variant
- font decoration
