Varying the font-weight of different pieces of text can help create contrast between pieces of information. It can help call attention to a piece of content, or help to make a smaller font-size a bit more readable.
A | A | A | A | A | A | A | A | A |
.fw1 | .fw2 | .fw3 | .fw4 | .fw5 | .fw6 | .fw7 | .fw8 | .fw9 |
It is possible to use the class name .b instead of .fw-bold.
<p class="fw1">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="fw2">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="fw3">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="fw-normal">The quick brown fox ...</p> <p class="fw4">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="fw5">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="fw6">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="fw-bold">The quick brown fox ...</p> <p class="fw7">The quick brown fox ...</p> <p class="b">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
<p class="fw8">The quick brown fox ...</p>
The quick brown fox jumps over the lazy dog.
/* generate: container-rule */ .fw-normal { font-weight: 400; } .fw-bold { font-weight: 700; } .fw1 { font-weight: 100; } .fw2 { font-weight: 200; } .fw3 { font-weight: 300; } .fw4 { font-weight: 400; } .fw5 { font-weight: 500; } .fw6 { font-weight: 600; } .fw7 { font-weight: 700; } .fw8 { font-weight: 800; } .fw9 { font-weight: 900; } .b { font-weight: 700; } /* end generate */