Font weight
noun
say it: “FONT WAYT” /fɑnt weɪt/
The CSS property that sets how thick text is, as a keyword such as normal or bold, or a number from 100 (thin) to 900 (heavy).
What does font-weight do?
font-weight sets how thick the text is: normal, bold, or a number from 100 (thin) to 900 (heavy).
.price { font-weight: bold; }
.subtitle { font-weight: 300; }
In a sentence
- “I set the font weight of the prices to 700 so they stood out from the item names.”
Level: Novice · More CSS terms at this level
Updated