property
font-style — CSS reference
Requests upright, italic or slanted text. Initial normal; inherited. Italic is often a distinct drawing, whereas oblique can be a slanted upright face. A missing face may be synthesized unless synthesis is disabled. The angle applies to oblique, not italic. Newer draft keywords require separate verification.
Formal Syntax & Structure
css syntaxcss
normal | italic | oblique <angle>?Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS font lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}
#a{font-style:oblique 12deg}</style><body><p id="a">Office 012345 — typography</p><p id="b" lang="fa" dir="rtl">سلام دنیا</p></body></html>