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-1
flex: 1;
f-2
flex: 2;
f-3
flex: 3;
f-4
flex: 4;
f-5
flex: 5;
f-6
flex: 6;
f-auto
flex: auto;
f-none
flex: none;

Responsiveness

Target viewport sizes with breakpoint prefixes.

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