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

fw-100
font-weight: 100;
fw-200
font-weight: 200;
fw-300
font-weight: 300;
fw-400
font-weight: 400;
fw-500
font-weight: 500;
fw-600
font-weight: 600;
fw-700
font-weight: 700;
fw-800
font-weight: 800;
fw-900
font-weight: 900;
Yumma CSS uses the value 600 for all headings. Learn more about it in the base styles docs.
Yumma CSS uses the value 700 for elements like <b> and <strong>. Learn more about it in the base styles docs.

Responsiveness

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

Target viewport sizes with breakpoint prefixes.

sm:fw-(value)
Small640px
md:fw-(value)
Medium768px
lg:fw-(value)
Large1024px
xxl:fw-(value)
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-(value)