logo

Air CSS ver. 2.3.2

Font style

While italics are mainly used to draw attention to certain words or passages, the font style also plays an important role in differentiating the titles and names of things such as novels, movies, or vehicle names from other text.

Mnemonics

Bases
Modifiers
Optional extensions
fs = font-style

-normal
-italic


none

Shorthand

It is possible to use the class name .i instead of .fs-italic.

Examples

<p class="fs-italic">The quick brown fox ...</p>
<p class="i">The quick brown fox ...</p>

The quick brown fox jumps over the lazy dog.

<p class="fs-normal">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.

Source code

.fs-normal { font-style: normal; }
.fs-italic { font-style: italic; }

.i { font-style: italic; }