Flex
Set how flex items grow & shrink.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
f-1flex: 1;f-2flex: 2;f-3flex: 3;f-4flex: 4;f-5flex: 5;f-6flex: 6;f-autoflex: auto;f-noneflex: none;Responsiveness
Target viewport sizes with breakpoint prefixes.
sm:f-(value)Small≥640px
md:f-(value)Medium≥768px
lg:f-(value)Large≥1024px
xxl:f-(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:f-(value)