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-100font-weight: 100;fw-200font-weight: 200;fw-300font-weight: 300;fw-400font-weight: 400;fw-500font-weight: 500;fw-600font-weight: 600;fw-700font-weight: 700;fw-800font-weight: 800;fw-900font-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)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)