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.

Responsiveness

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

Target viewport sizes with breakpoint prefixes.

sm:fw-*
Small640px
md:fw-*
Medium768px
lg:fw-*
Large1024px
xxl:fw-*
Extra Large1536px

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-*