Module font_weight

Source
Expand description

Utilities for controlling the font weight of an element.

Class Properties
font-thinfont-weight: 100;
font-extralightfont-weight: 200;
font-lightfont-weight: 300;
font-normalfont-weight: 400;
font-mediumfont-weight: 500;
font-semiboldfont-weight: 600;
font-boldfont-weight: 700;
font-extraboldfont-weight: 800;
font-blackfont-weight: 900;

ยงArbitrary values

Any <integer> or var() property or a keyword among normal, bold, lighter and bolder is allowed as arbitrary value. For example, font-[1100].

Tailwind reference

OSZAR »