CSS font-variant property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
CSS font-variant property selects italic or oblique styles. italic style is cursive in nature. While oblique is a sloped version (at angle) of regular font.
Syntax
font-variant : normal | italic | oblique
Property values
oblique
-
It represents slanted text at some angle. Positive value of angle represents clockwise slant. And the negative one represents anti-clockwise slant. If there is no angle, it represents 14deg.
- Try it
font-variant: oblique;
Applicable to
It applies to all elements