N
A
V

Flex

Definition and Usage

The flex utility is a shorthand class that applies a flexible layout behavior to a flex item, allowing it to grow and shrink as needed while distributing space efficiently within a flex container.

Aspect-Ratio Examples

Property Value
Fx1 flex: 1;
Fx2 flex: 2;
Fx5 flex: 5;
FxIl flex: initial;

Note

The range of flex utility is from 1 to 5.

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

Loading...