TypographyFont Weight

Font Weight

Set the font weight for an element.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

Usage

100

Sphinx of black quartz, judge my vow.

200

Sphinx of black quartz, judge my vow.

300

Sphinx of black quartz, judge my vow.

400

Initial value

Sphinx of black quartz, judge my vow.

500

Sphinx of black quartz, judge my vow.

600

Yumma CSS uses the value 600 for all headings. Learn more about it in the base styles docs.

Sphinx of black quartz, judge my vow.

700

Yumma CSS uses the value 700 for elements like <b> and <strong>. Learn more about it in the base styles docs.

Sphinx of black quartz, judge my vow.

800

Sphinx of black quartz, judge my vow.

900

Sphinx of black quartz, judge my vow.

Responsive Design

Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.

Target viewport sizes with breakpoint prefixes.

sm:fw-[value]
Small≥640px
md:fw-[value]
Medium≥768px
lg:fw-[value]
Large≥1024px
xxl:fw-[value]
Extra Large≥1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:fw-[value]