Performance: Font weight control
MEDIUM IMPACT
Font weight control affects text rendering speed and page load by influencing font file size and browser paint time.
<p class="font-bold">Text</p><p class="font-thin font-bold font-extrabold">Text</p>| Pattern | DOM Operations | Reflows | Paint Cost | Verdict |
|---|---|---|---|---|
| Multiple font weights loaded | No extra DOM nodes | 0 | High paint cost due to font load delay | [X] Bad |
| Single font weight used | No extra DOM nodes | 0 | Lower paint cost, faster text rendering | [OK] Good |