<?xml version="1.0" encoding="utf-8"?>

CSS font-style property

CSS font-style property Bad Practice
CSS font-style property Best Practice

The font-style property is mostly used to specify italic text. This property has three values: normal, Italic, and oblique.

Both Italic and oblique fonts look slanted. The difference is that Italic fonts are created by type designers and usually have specific, cursive letterforms, while obliques are just sloped versions of regular fonts. Most fonts have either Italic or an oblique version. If the Italic version is not available, the browser will use the oblique one and vice versa. If neither is available, the browser simulates the style artificially by sloping the glyphs of the regular face.

Improve your UX & Product skills with interactive courses that actually work