font-style
Description
The font-style CSS property allows italic or oblique faces to be selected.
Syntax
CSS
font-style: value;
JS
object.style.fontStyle = "value";
Values
<'font-style'> = normal | italic | oblique <angle>?
normal
Matches against a face that is classified as a normal face, one that is neither italic or obliqued.
italic
Matches against a font that is labeled as an italic face, or an oblique face if one does not exist.
oblique
Controls matching against an oblique face. Positive angles represent a clockwise slant; negative angles represent a counter-clockwise slant.
<angle>
deg
Degrees. There are 360 degrees in a full circle.
grad
Gradians, also known as "gons" or "grades". There are 400 gradians in a full circle.
rad
Radians. There are 2p radians in a full circle.
turn
Turns. There is 1 turn in a full circle.
Initial
normal