Font weight

Font weight

Font weight refers to the thickness or density of a typeface’s strokes. By adjusting font weight, you can improve the legibility of text, highlight critical information, and create a visual hierarchy on a web page or application. 

In CSS, the font-weight property specifies the weight, or thickness, of a font. Values range from 100 (thin) to 900 (bold), with regular weight typically set at 400 and bold at 700. For example, the following CSS code snippet sets the font weight of all text in the body of a webpage to bold:

body { font-weight: bold; }

In HTML, inline styles or linked CSS files define font weight. For example, the following inline style snippet sets the font weight for “this text is extra bold” to 700. 

<p style="font-weight: 700;">This text is extra bold.</p>

Visit Webflow University to learn more about using different font weights with variable fonts.

Other glossary terms

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Hmm…we couldn’t find any results. Try a different search term or reset the filter.
Reset the filter
Load more