Flex Grow
Control how flex items grow to fill available space.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
Usage
A
B
C
<div class="d-f g-4 c-white"> <div class="bg-indigo fg-0 p-4 d-f ai-c jc-c">A</div> <div class="bg-indigo fg-1 p-4 d-f ai-c jc-c">B</div> <div class="bg-indigo fg-2 p-4 d-f ai-c jc-c">C</div></div>Responsive Design
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:fg-[value]Small≥640px
md:fg-[value]Medium≥768px
lg:fg-[value]Large≥1024px
xxl:fg-[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:fg-[value]