CSS font-style property

Description

CSS font-style property specifies italic or oblique styles.

Syntax

font-style : normal | italic | oblique

Property values

normalDefault

none value adds no style to the font.

font-style: normal;

italic

italic style is cursive in nature.

font-style: italic;

oblique

It represents slanted text at some angle. It is actually a sloped version (at angle) of regular font.

font-style: oblique;

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

 
normal, italic, oblique
×

Ctrl+D