Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
fs-0flex-shrink: 0;fs-1flex-shrink: 1;fs-2flex-shrink: 2;fs-3flex-shrink: 3;fs-4flex-shrink: 4;fs-5flex-shrink: 5;fs-6flex-shrink: 6;fs-7flex-shrink: 7;fs-8flex-shrink: 8;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:fs-(value)Small≥640px
md:fs-(value)Medium≥768px
lg:fs-(value)Large≥1024px
xxl:fs-(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:fs-(value)Negative Values
Use negative variants to apply negative flex shrink values.
Use the -- syntax to apply negative numeric values.
Syntax:
fs--(value)