N
A
V

Flex Grow and Flex Shrink

Definition and Usage

The Flex Grow and Flex Shrink utilities control how flex items expand or contract relative to the available space within a flex container. These utilities help in managing responsive layouts and distributing space efficiently.

Aspect-Ratio Examples

Property Value
FxGw0 flex-grow: 0;
FxGw5 flex-grow: 5;
FxSk0 flex-shrink: 0;
FxSk5 flex-shrink: 5;

Note

The range of flex grow and flex shrink is from 0 to 5.

Web Tool
Celebrate Tech © 2008 - 2024
Welcome Amit
  Logout
  Change Password
  Change Email

Loading...