Skip to content

Font Weight ​

Utilities for specifying the weight of a font.

Class NameCSS Equivalent
.weight-blackfont-weight: 900
.weight-extraboldfont-weight: 800
.weight-boldfont-weight: 700
.weight-semiboldfont-weight: 600
.weight-mediumfont-weight: 500
.weight-regularfont-weight: 400
.weight-lightfont-weight: 300
.weight-extralightfont-weight: 200
.weight-thinfont-weight: 100

Setting the font weight ​

Control the font weight of an element using the font-{weight} utilities.

weight-light
The quick brown fox jumps over the lazy dog.
weight-normal
The quick brown fox jumps over the lazy dog.
weight-medium
The quick brown fox jumps over the lazy dog.
weight-semibold
The quick brown fox jumps over the lazy dog.
weight-bold
The quick brown fox jumps over the lazy dog.
html
<p class="[...] weight-light">The quick brown fox ...</p>
<p class="[...] weight-normal">The quick brown fox ...</p>
<p class="[...] weight-medium">The quick brown fox ...</p>
<p class="[...] weight-semibold">The quick brown fox ...</p>
<p class="[...] weight-bold">The quick brown fox ...</p>