Tailwind CSS
/Beginner
Font Weight
Definition
Utilities for controlling the font weight (thickness) of an element.
Explain Like I'm New
How bold the text is. `font-thin` looks like a spiderweb. `font-normal` is standard. `font-bold` is thick. `font-black` is incredibly massive and heavy.
Real World Example
Making a user's name `font-bold` in a comment section so it stands out against the `font-normal` comment text.
Common Use Cases
- •Emphasis
- •Visual hierarchy
Interactive Example
Interview Questions
basic
- What Tailwind class corresponds to standard `<b>` bold text (weight 700)?
intermediate
- If you apply `font-black` (weight 900) but your imported web font doesn't support that weight, what happens?